aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-08-25 18:52:45 +0000
committerBill Nottingham <notting@redhat.com>1999-08-25 18:52:45 +0000
commit9444bf2f389fdb645c6e54de0d6ab818b8b0256b (patch)
treef229871579dc1aca9f4cb76ec6624ace99770982 /rc.d
parentdf2e46abc217d980319d3db9a91d2b221f96b012 (diff)
downloadinitscripts-9444bf2f389fdb645c6e54de0d6ab818b8b0256b.tar
initscripts-9444bf2f389fdb645c6e54de0d6ab818b8b0256b.tar.gz
initscripts-9444bf2f389fdb645c6e54de0d6ab818b8b0256b.tar.bz2
initscripts-9444bf2f389fdb645c6e54de0d6ab818b8b0256b.tar.xz
initscripts-9444bf2f389fdb645c6e54de0d6ab818b8b0256b.zip
more raid fixes
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit14
1 files changed, 9 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 74d55ed1..0ead3c10 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -281,15 +281,19 @@ 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
- if [ -x raidstart ]; then
- raidstart $i
+ if [ -x /sbin/raidstart ]; then
+ /sbin/raidstart $i
RESULT=$?
else
RESULT=1
fi
- if [ $RESULT -gt 0 -a -x raidadd -a -x raidrun ]; then
- raidadd $i
- raidrun $i
+ if [ $RESULT -gt 0 -a -x /sbin/raid0run ]; then
+ /sbin/raid0run $i
+ RESULT=$?
+ fi
+ if [ $RESULT -gt 0 -a -x /sbin/raidadd -a -x /sbin/raidrun ]; then
+ /sbin/raidadd $i
+ /sbin/raidrun $i
RESULT=$?
fi
if [ $RESULT -gt 0 ]; then