diff options
author | Bill Nottingham <notting@redhat.com> | 2000-02-23 18:12:09 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-02-23 18:12:09 +0000 |
commit | 54043b248480e855d9223c847440aab618e6e41c (patch) | |
tree | af344d59e462b9cb72e75c38bc91bcbe29157e2b /rc.d | |
parent | 63520c92f81c8b6e1336c507e07937c157808170 (diff) | |
download | initscripts-54043b248480e855d9223c847440aab618e6e41c.tar initscripts-54043b248480e855d9223c847440aab618e6e41c.tar.gz initscripts-54043b248480e855d9223c847440aab618e6e41c.tar.bz2 initscripts-54043b248480e855d9223c847440aab618e6e41c.tar.xz initscripts-54043b248480e855d9223c847440aab618e6e41c.zip |
don't read commented raiddev entries
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 375f56e6..e76e8f5d 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -303,7 +303,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` |