From 5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 13 Sep 1999 04:19:46 +0000 Subject: simplify raid startup a little --- rc.d/rc.sysinit | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 92d61f3d..0a9d3427 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -298,17 +298,14 @@ if [ -f /proc/mdstat -a -f /etc/raidtab ]; then # Try raidstart first...if that fails then # fall back to raidadd, raidrun. If that # also fails, then we drop to a shell + RESULT=1 if [ -x /sbin/raidstart ]; then /sbin/raidstart $i RESULT=$? - else - RESULT=1 fi if [ $RESULT -gt 0 -a -x /sbin/raid0run ]; then /sbin/raid0run $i RESULT=$? - else - RESULT=1 fi if [ $RESULT -gt 0 -a -x /sbin/raidadd -a -x /sbin/raidrun ]; then /sbin/raidadd $i -- cgit v1.2.1