aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-05-14 14:40:17 +0000
committerBill Nottingham <notting@redhat.com>1999-05-14 14:40:17 +0000
commit28daca89004eef2c2634a4ba5b7f993c0d4079e2 (patch)
tree4614ad34418a1e415c8102fcc3d87456212b31d0
parentb76ca307299d8d9156d0e0d5dbaca63cb093d7b8 (diff)
downloadinitscripts-28daca89004eef2c2634a4ba5b7f993c0d4079e2.tar
initscripts-28daca89004eef2c2634a4ba5b7f993c0d4079e2.tar.gz
initscripts-28daca89004eef2c2634a4ba5b7f993c0d4079e2.tar.bz2
initscripts-28daca89004eef2c2634a4ba5b7f993c0d4079e2.tar.xz
initscripts-28daca89004eef2c2634a4ba5b7f993c0d4079e2.zip
load modules earlier
-rwxr-xr-xrc.d/rc.sysinit10
1 files changed, 5 insertions, 5 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b9955519..536c2b25 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -208,6 +208,11 @@ if [ -f /proc/sys/kernel/modprobe ]; then
fi
fi
+# Load modules (for backward compatibility with VARs)
+if [ -f /etc/rc.d/rc.modules ]; then
+ /etc/rc.d/rc.modules
+fi
+
# Add raid devices
if [ -f /proc/mdstat -a -f /etc/raidtab -a -x /sbin/raidstart ]; then
action "Starting up RAID devices" raidstart -a
@@ -356,11 +361,6 @@ if [ -f /etc/rc.d/rc.serial ]; then
. /etc/rc.d/rc.serial
fi
-# Load modules (for backward compatibility with VARs)
-if [ -f /etc/rc.d/rc.modules ]; then
- /etc/rc.d/rc.modules
-fi
-
# If a SCSI tape has been detected, load the st module unconditionally
# since many SCSI tapes don't deal well with st being loaded and unloaded
if [ -f /proc/scsi/scsi ] && cat /proc/scsi/scsi | grep -q 'Type: Sequential-Access' 2>/dev/null ; then