aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-05-12 03:35:07 +0000
committerBill Nottingham <notting@redhat.com>1999-05-12 03:35:07 +0000
commit6a8976f65e90920f2e304f56a0f6e355b1976cd0 (patch)
tree3214bae187af8dc188a06ff12950ee75e6aaf871
parent635b75a0234338eec11f03bc2bc88ff23c5f3133 (diff)
downloadinitscripts-6a8976f65e90920f2e304f56a0f6e355b1976cd0.tar
initscripts-6a8976f65e90920f2e304f56a0f6e355b1976cd0.tar.gz
initscripts-6a8976f65e90920f2e304f56a0f6e355b1976cd0.tar.bz2
initscripts-6a8976f65e90920f2e304f56a0f6e355b1976cd0.tar.xz
initscripts-6a8976f65e90920f2e304f56a0f6e355b1976cd0.zip
be careful about loading st.o
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 2460317e..b9955519 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -367,7 +367,7 @@ if [ -f /proc/scsi/scsi ] && cat /proc/scsi/scsi | grep -q 'Type: Sequential-A
if cat /proc/devices | grep -qv ' 9 st' ; then
if [ -n "$USEMODULES" ] ; then
# Try to load the module. If it fails, ignore it...
- modprobe st 2>/dev/null
+ insmod -p st >/dev/null 2>&1 && modprobe st >/dev/null 2>&1
fi
fi
fi