aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit6
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index e3ee1284..290c586c 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -667,12 +667,14 @@ if [ -n "$needusbstorage" ]; then
fi
# Ooh, firewire too.
-aliases=`/sbin/modprobe -c | awk '/^alias ieee1394-controller/ { print $3 }'`
-if [ -n "$aliases" -a "$aliases" != "off" ]; then
+if ! grep -iq "nofirewire" /proc/cmdline 2>/dev/null ; then
+ aliases=`/sbin/modprobe -c | awk '/^alias ieee1394-controller/ { print $3 }'`
+ if [ -n "$aliases" -a "$aliases" != "off" ]; then
for alias in $aliases ; do
[ "$alias" != "off" ] && action $"Initializing firewire controller ($alias): " modprobe $alias
done
grep -q "SBP2" /proc/bus/ieee1394/devices 2>/dev/null && modprobe sbp2 >/dev/null 2>&1
+ fi
fi
# If they asked for ide-scsi, load it