aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-05-10 21:58:04 +0000
committerBill Nottingham <notting@redhat.com>1999-05-10 21:58:04 +0000
commit94078c1113cf008e71511d5fdaf74ba734731e7d (patch)
treee26f68dea29765ea985bcca47d6805da4f2042af
parent96cabc3fa06f36bd18cea475b760fda29a8e569f (diff)
downloadinitscripts-94078c1113cf008e71511d5fdaf74ba734731e7d.tar
initscripts-94078c1113cf008e71511d5fdaf74ba734731e7d.tar.gz
initscripts-94078c1113cf008e71511d5fdaf74ba734731e7d.tar.bz2
initscripts-94078c1113cf008e71511d5fdaf74ba734731e7d.tar.xz
initscripts-94078c1113cf008e71511d5fdaf74ba734731e7d.zip
fix raid startr4-17
-rw-r--r--initscripts.spec2
-rwxr-xr-xrc.d/rc.sysinit9
2 files changed, 3 insertions, 8 deletions
diff --git a/initscripts.spec b/initscripts.spec
index 31e50fac..112c49f0 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -1,6 +1,6 @@
Summary: The inittab file and the /etc/rc.d scripts.
Name: initscripts
-%define version 4.16
+%define version 4.17
Version: %{version}
Copyright: GPL
Group: System Environment/Base
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 737cbc2a..35d78d8e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -206,16 +206,11 @@ if [ -f /proc/sys/kernel/modprobe ]; then
fi
# Add raid devices
-if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidadd ]; then
- action "Starting up RAID devices" raidadd -a
+if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidstart ]; then
+ action "Starting up RAID devices" raidstart -a
rc=$?
- if [ $rc = 0 ]; then
- raidrun -a
- rc=$?
- fi
-
# A non-zero return means there were problems.
if [ $rc -gt 0 ]; then
echo