aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit12
1 files changed, 12 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index bc68c778..baca24db 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -635,6 +635,18 @@ if [ -n "$needusbstorage" ]; then
modprobe usb-storage >/dev/null 2>&1
fi
+# Ooh, firewire too.
+if
+ 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
if grep -q "ide-scsi" /proc/cmdline ; then
modprobe ide-cd >/dev/null 2>&1