summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/initscripts/loadmiscmod.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/slugos-init/files/initscripts/loadmiscmod.sh')
-rw-r--r--packages/slugos-init/files/initscripts/loadmiscmod.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/slugos-init/files/initscripts/loadmiscmod.sh b/packages/slugos-init/files/initscripts/loadmiscmod.sh
new file mode 100644
index 0000000000..d2d09821f1
--- /dev/null
+++ b/packages/slugos-init/files/initscripts/loadmiscmod.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# This script is used for loading modules required for other purposes than
+# usb or networking
+
+# A way of finding which embedded board SlugOS is being run on is needed
+
+echo "Loading misc modules"
+modprobe ixp4xx_rng
+modprobe i2c_dev
+
+exit 0 \ No newline at end of file