aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-04-02 20:17:50 +0000
committerBill Nottingham <notting@redhat.com>2001-04-02 20:17:50 +0000
commit071a6d89a8acfb494a9c19743a97e5d4c0d97da1 (patch)
tree53bcb9d88c66b166249e9fa32f60099361af0306
parentf8ce1b187562b06bcc2f9acd4f55b82923cbce39 (diff)
downloadinitscripts-071a6d89a8acfb494a9c19743a97e5d4c0d97da1.tar
initscripts-071a6d89a8acfb494a9c19743a97e5d4c0d97da1.tar.gz
initscripts-071a6d89a8acfb494a9c19743a97e5d4c0d97da1.tar.bz2
initscripts-071a6d89a8acfb494a9c19743a97e5d4c0d97da1.tar.xz
initscripts-071a6d89a8acfb494a9c19743a97e5d4c0d97da1.zip
load ide-cd before ide-scsi
load ide-scsi if they asked for it
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 6 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index d4b1f196..bd9ddffe 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -616,6 +616,12 @@ if [ -n "$needusbstorage" ]; then
modprobe usb-storage >/dev/null 2>&1
fi
+# If they asked for ide-scsi, load it
+if grep -q "ide-scsi" /proc/cmdline ; then
+ modprobe ide-cd >/dev/null 2>&1
+ modprobe ide-scsi >/dev/null 2>&1
+fi
+
# Load agpgart here. This is a hack, and will probably go away soon.
if grep "driver: agpgart" /etc/sysconfig/hwconf >/dev/null 2>&1 ; then
modprobe agpgart >/dev/null 2>&1