summaryrefslogtreecommitdiff
path: root/packages/slugos-init/files/boot/nfs
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/boot/nfs
parent9073ab1abc3a193ba968f8bdebdd32c2c063a904 (diff)
SlugOS: updated boot scripts to support nfs rootfs with the new network driver.
Diffstat (limited to 'packages/slugos-init/files/boot/nfs')
-rw-r--r--packages/slugos-init/files/boot/nfs5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/slugos-init/files/boot/nfs b/packages/slugos-init/files/boot/nfs
index 856f4e56b9..e0f05754c5 100644
--- a/packages/slugos-init/files/boot/nfs
+++ b/packages/slugos-init/files/boot/nfs
@@ -7,10 +7,15 @@
export PATH=/sbin:/bin:/usr/sbin:/usr/bin
#
. /etc/default/functions
+. /etc/default/modulefunctions
+#
leds boot system
#
if /boot/network
then
+ # load the nfs kernel module
+ loadnfsmods
+
# network is up and running, the NFS mount will
# now succeed (possibly), use /boot/disk
exec /boot/disk "$@"