summaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-10-18 19:33:50 +0000
committerBill Nottingham <notting@redhat.com>2002-10-18 19:33:50 +0000
commit6635316ea75d257d0bfc00f3eb0026bbd48197b4 (patch)
tree774e33ad39b0c19091a14d5d9a08912d24f507bf /rc.d
parent06a4616ca179326a89374e11f2294bc87208759c (diff)
merge md module fix
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 3e79b21b..19c88e2e 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -427,8 +427,10 @@ if [ -f /etc/rc.modules ]; then
fi
# Add raid devices
-if [ ! -f /proc/mdstat ]; then
+if [ -f /etc/raidtab ]; then
+ if [ ! -f /proc/mdstat ]; then
modprobe md >/dev/null 2>&1
+ fi
fi
if [ -f /proc/mdstat -a -f /etc/raidtab ]; then