diff options
author | Bill Nottingham <notting@redhat.com> | 1999-09-13 04:19:46 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-09-13 04:19:46 +0000 |
commit | 5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd (patch) | |
tree | 68995648db253133067643e35aeb75a1341097ba /rc.d | |
parent | b35fc1356ae43ad3c82180cf8c3457e4ace8c63b (diff) | |
download | initscripts-5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd.tar initscripts-5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd.tar.gz initscripts-5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd.tar.bz2 initscripts-5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd.tar.xz initscripts-5bf21294ee0e916cd7f2b2e0e81706b57f1a93fd.zip |
simplify raid startup a little
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/rc.sysinit | 5 |
1 files changed, 1 insertions, 4 deletions
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 |