aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
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 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`