From e4645c316b5409da42ca33a956dfe77abf77464c Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Thu, 15 Oct 1998 15:36:54 +0000 Subject: raidstart doesn't exist! use raidadd/raidrun --- rc.d/rc.sysinit | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 2327e5ad..411b2108 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -158,12 +158,17 @@ if [ -x /sbin/kerneld -a -n "$USEMODULES" ]; then fi # Add raid devices -if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidstart ]; then +if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidadd ]; then echo "Starting up RAID devices." - raidstart -a + 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