summaryrefslogtreecommitdiffstats
path: root/defaultenv-2/base/init/automount
diff options
context:
space:
mode:
Diffstat (limited to 'defaultenv-2/base/init/automount')
-rw-r--r--defaultenv-2/base/init/automount11
1 files changed, 3 insertions, 8 deletions
diff --git a/defaultenv-2/base/init/automount b/defaultenv-2/base/init/automount
index 63099f9..7b53309 100644
--- a/defaultenv-2/base/init/automount
+++ b/defaultenv-2/base/init/automount
@@ -5,10 +5,10 @@ if [ "$1" = menu ]; then
exit
fi
-# automount server returned from dhcp server
+# automount tftp server based on $eth0.serverip
-mkdir -p /mnt/tftp-dhcp
-automount /mnt/tftp-dhcp 'ifup eth0 && mount $eth0.serverip tftp /mnt/tftp-dhcp'
+mkdir -p /mnt/tftp
+automount /mnt/tftp 'ifup eth0 && mount $eth0.serverip tftp /mnt/tftp'
# automount nfs server example
@@ -16,11 +16,6 @@ automount /mnt/tftp-dhcp 'ifup eth0 && mount $eth0.serverip tftp /mnt/tftp-dhcp'
#mkdir -p /mnt/${nfshost}
#automount /mnt/$nfshost "ifup eth0 && mount ${nfshost}:/tftpboot nfs /mnt/${nfshost}"
-# static tftp server example
-
-#mkdir -p /mnt/tftp
-#automount -d /mnt/tftp 'ifup eth0 && mount $serverip tftp /mnt/tftp'
-
# FAT on usb disk example
#mkdir -p /mnt/fat