aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1998-10-15 15:36:54 +0000
committerErik Troan <ewt@redhat.com>1998-10-15 15:36:54 +0000
commite4645c316b5409da42ca33a956dfe77abf77464c (patch)
tree1f83a14cd2ad8eff7f84beb294bfb3ca22e7305d /rc.d
parent95000d2e17ed8e1acca95d70766ac43f335140dd (diff)
downloadinitscripts-e4645c316b5409da42ca33a956dfe77abf77464c.tar
initscripts-e4645c316b5409da42ca33a956dfe77abf77464c.tar.gz
initscripts-e4645c316b5409da42ca33a956dfe77abf77464c.tar.bz2
initscripts-e4645c316b5409da42ca33a956dfe77abf77464c.tar.xz
initscripts-e4645c316b5409da42ca33a956dfe77abf77464c.zip
raidstart doesn't exist! use raidadd/raidrun
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit9
1 files changed, 7 insertions, 2 deletions
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