summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/modulefunctions
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-02-04 17:22:12 +0000
committerMike Westerhof <mwester@dls.net>2008-02-04 17:22:12 +0000
commit8e0c09c7d6ef8dc1e5d191d8f0c9ee55a659901f (patch)
treecbad0ca12ac45ef99297c48503f54d47b1d07026 /packages/slugos-init/files/modulefunctions
parent9073ab1abc3a193ba968f8bdebdd32c2c063a904 (diff)
SlugOS: updated boot scripts to support nfs rootfs with the new network driver.
Diffstat (limited to 'packages/slugos-init/files/modulefunctions')
-rw-r--r--packages/slugos-init/files/modulefunctions5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/slugos-init/files/modulefunctions b/packages/slugos-init/files/modulefunctions
index a497f71f6c..82fd7681af 100644
--- a/packages/slugos-init/files/modulefunctions
+++ b/packages/slugos-init/files/modulefunctions
@@ -1,5 +1,6 @@
#!/bin/sh
# . this file to load the functions for automatically loading modules
+# NB: /proc must be mounted for correct evaluation of "$(machine)".
. /etc/default/functions
@@ -34,6 +35,10 @@ loadnetmods(){
esac
}
+loadnfsmods(){
+ modprobe nfs
+}
+
loadmiscmods(){
true
}