From 28daca89004eef2c2634a4ba5b7f993c0d4079e2 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Fri, 14 May 1999 14:40:17 +0000 Subject: load modules earlier --- rc.d/rc.sysinit | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rc.d') 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 -- cgit v1.2.1