diff options
author | Bill Nottingham <notting@redhat.com> | 2001-08-08 22:03:09 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-08-08 22:03:09 +0000 |
commit | f40c4975fb2a38a26dcbf4c062bb20cfa6f78c36 (patch) | |
tree | 8bbe1ba026c7227c19ba54fcdfb26785ab98dbf5 /rc.d | |
parent | 1f1ecb61422407eab5816589d1355311e839834f (diff) | |
download | initscripts-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')
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
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` |