summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/initscripts
diff options
context:
space:
mode:
authorMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-28 15:41:26 +0000
committerMichael-Luke Jones <mlj28@cam.ac.uk>2006-09-28 15:41:26 +0000
commit1decdb826d58ca77eedf9516b4b250b03d398afc (patch)
treef47c9e97068dda1786e8b34453b1a5895f580a7d /packages/slugos-init/files/initscripts
parentc4de89456a82bc97d97b0905f33f825ee303a099 (diff)
slugos-init: Further improvements to module loading
Diffstat (limited to 'packages/slugos-init/files/initscripts')
-rw-r--r--packages/slugos-init/files/initscripts/loadmodules.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/slugos-init/files/initscripts/loadmodules.sh b/packages/slugos-init/files/initscripts/loadmodules.sh
index 1bc540a148..e80f995598 100644
--- a/packages/slugos-init/files/initscripts/loadmodules.sh
+++ b/packages/slugos-init/files/initscripts/loadmodules.sh
@@ -1,18 +1,15 @@
#!/bin/sh
# This script is used for loading modules required by SlugOS
-# Currently, this script only supports the NSLU2
+# This script may not be necessary if udev is present, but is included
+# for 'backup' purposes in case udev is playing silly buggers
-. /etc/default/functions # Load $(machine) function required
-. /etc/default/modulefunctions
+. /etc/default/modulefunctions # Load module loading logic
-echo "Loading networking modules"
loadnetmods
-echo "Loading usb storage modules"
-loadusbmods
+loaddiskmods
-echo "Loading other modules"
loadmiscmods
exit 0