aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-08-08 22:03:09 +0000
committerBill Nottingham <notting@redhat.com>2001-08-08 22:03:09 +0000
commitf40c4975fb2a38a26dcbf4c062bb20cfa6f78c36 (patch)
tree8bbe1ba026c7227c19ba54fcdfb26785ab98dbf5 /rc.d/rc.sysinit
parent1f1ecb61422407eab5816589d1355311e839834f (diff)
downloadinitscripts-f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36.tar
initscripts-f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36.tar.gz
initscripts-f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36.tar.bz2
initscripts-f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36.tar.xz
initscripts-f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36.zip
tweak raidtab grep slightly (#51231)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b1849544..4e2922d1 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -441,7 +441,7 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then
rc=0
- for i in `grep "^raiddev" /etc/raidtab | awk '{print $2}'`
+ for i in `grep "^[^*]*raiddev" /etc/raidtab | awk '{print $2}'`
do
RAIDDEV=`basename $i`
RAIDSTAT=`grep "^$RAIDDEV : active" /proc/mdstat`