diff options
author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-09 17:23:35 +0000 |
---|---|---|
committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-09 17:23:35 +0000 |
commit | ac222142f849ed340c3b7a0300a57cc3153e0436 (patch) | |
tree | bd18cbcc48bca8596a3af10c9e5fe8c2ca3c3509 /scripts/nfs | |
parent | 8cfdec86dd2e4662a09d6384ab9042d32636560d (diff) | |
download | initramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.tar.gz initramfs-tools-ac222142f849ed340c3b7a0300a57cc3153e0436.zip |
Add hookscripts
Diffstat (limited to 'scripts/nfs')
-rw-r--r-- | scripts/nfs | 8 |
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 + } |