From 98ac61c5e351c23e5bc2cad35fa6f992a6c6387c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 7 Jun 1999 06:26:57 +0000 Subject: revert raid --- rc.d/rc.sysinit | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 75d92f97..45cc5e22 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -215,11 +215,16 @@ if [ -f /etc/rc.d/rc.modules ]; then fi # Add raid devices -if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidstart ]; then - action "Starting up RAID devices" raidstart -a +if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidadd ]; then + action "Starting up RAID devices" raidadd -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