From 94078c1113cf008e71511d5fdaf74ba734731e7d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 10 May 1999 21:58:04 +0000 Subject: fix raid start --- rc.d/rc.sysinit | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'rc.d/rc.sysinit') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 737cbc2a..35d78d8e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -206,16 +206,11 @@ if [ -f /proc/sys/kernel/modprobe ]; then fi # Add raid devices -if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidadd ]; then - action "Starting up RAID devices" raidadd -a +if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidstart ]; then + action "Starting up RAID devices" raidstart -a rc=$? - if [ $rc = 0 ]; then - raidrun -a - rc=$? - fi - # A non-zero return means there were problems. if [ $rc -gt 0 ]; then echo -- cgit v1.2.1