summaryrefslogtreecommitdiff
path: root/packages/foonas-init/files/modulefunctions
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-03-11 18:39:19 +0000
committerPhilip Balister <philip@balister.org>2007-03-11 18:39:19 +0000
commit51053d021c7d57e379e088fc0592895df748e0b1 (patch)
tree75749e623cd3d2ffa1ccd61aa0b501a50b0a74b0 /packages/foonas-init/files/modulefunctions
parent42f23263ac62da6ef5a7c105afaed3875c75c096 (diff)
parent3de7894a5577fbf7359c2d5462dce0863a8c2942 (diff)
merge of 'b0e8a7b18bc538b2926b839a1a3adad6234a53e0'
and 'bfad7eb7e40db9284b9271f1a40a8fa4ec870886'
Diffstat (limited to 'packages/foonas-init/files/modulefunctions')
-rw-r--r--packages/foonas-init/files/modulefunctions39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/foonas-init/files/modulefunctions b/packages/foonas-init/files/modulefunctions
new file mode 100644
index 0000000000..430e376ad8
--- /dev/null
+++ b/packages/foonas-init/files/modulefunctions
@@ -0,0 +1,39 @@
+#!/bin/sh
+# "." this file, then call the appropriate routines to load modules
+# you might need. This is run from /etc/rcS.d/S21loadmodules.sh
+# at boot time. Possible examples are commented out, none of which
+# are needed on openprotium since they are already in the kernel.
+
+. /etc/default/functions
+
+
+loaddiskmods(){
+ :
+# modprobe scsi_mod
+# modprobe sd_mod
+# modprobe usbcore
+# case "$(machine)" in
+# nslu2)
+# modprobe ehci-hcd
+# modprobe ohci-hcd
+# ;;
+# esac
+# modprobe usb-storage
+}
+
+loadnetmods(){
+ :
+# modprobe af_packet
+# case "$(machine)" in
+# ixdp425|nslu2|nas100d)
+# modprobe ixp4xx_mac
+# ;;
+# esac
+}
+
+loadmiscmods(){
+ :
+# modprobe ixp4xx_rng
+# modprobe i2c_dev
+}
+