aboutsummaryrefslogtreecommitdiffstats
path: root/packages/openprotium-init/files/modulefunctions
diff options
context:
space:
mode:
authorAndrew Wilcox <andy@protium.com>2006-12-23 22:02:58 +0000
committerAndrew Wilcox <andy@protium.com>2006-12-23 22:02:58 +0000
commite934fbdc234809387a52cb3413b198101ca17a6e (patch)
treef095428810a4c3b47ed33db36976adf2b7745ec5 /packages/openprotium-init/files/modulefunctions
parent2431508da0e4c9982679df090d44ee477b7c9355 (diff)
downloadopenembedded-e934fbdc234809387a52cb3413b198101ca17a6e.tar.gz
openprotium-init: a descendant of slugos-init with protium and storcenter related changes.
Diffstat (limited to 'packages/openprotium-init/files/modulefunctions')
-rw-r--r--packages/openprotium-init/files/modulefunctions39
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/openprotium-init/files/modulefunctions b/packages/openprotium-init/files/modulefunctions
new file mode 100644
index 0000000000..430e376ad8
--- /dev/null
+++ b/packages/openprotium-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
+}
+