summaryrefslogtreecommitdiff
path: root/scripts/nfs
diff options
context:
space:
mode:
authorJeff Bailey <jbailey@ubuntu.com>2005-06-09 17:23:35 +0000
committerJeff Bailey <jbailey@ubuntu.com>2005-06-09 17:23:35 +0000
commitac222142f849ed340c3b7a0300a57cc3153e0436 (patch)
treebd18cbcc48bca8596a3af10c9e5fe8c2ca3c3509 /scripts/nfs
parent8cfdec86dd2e4662a09d6384ab9042d32636560d (diff)
downloadinitramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.tar.gz
initramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.zip
Add hookscripts
Diffstat (limited to 'scripts/nfs')
-rw-r--r--scripts/nfs8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/nfs b/scripts/nfs
index 1225c4d..d0f1600 100644
--- a/scripts/nfs
+++ b/scripts/nfs
@@ -2,10 +2,18 @@
# Paramter: Where the root should be mounted
mountroot ()
{
+ run_scripts /scripts/nfs_top
+
ipconfig ${DEVICE}
. /tmp/net-${DEVICE}.conf
if [ "x${NFSROOT}" = "xauto" ]; then
NFSROOT=${ROOTSERVER}:${ROOTPATH}
fi
+
+ run_scripts /scripts/nfs_premount
+
nfsmount ${NFSROOT} ${rootmnt}
+
+ run_scripts /scripts/nfs_bottom
+
}