summaryrefslogtreecommitdiff
path: root/scripts/nfs
diff options
context:
space:
mode:
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
+
}