summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
index 88e546a059..cefc46c8d0 100644
--- a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
+++ b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
@@ -42,10 +42,10 @@ run_module() {
nfs_mounts="`cat /etc/fstab | grep -v ^# | grep nfs | awk '{print $1}'`"
nfs_mountpoints="`cat /etc/fstab | grep -v ^# | grep nfs | awk '{print $2}'`"
- if test -z "$nfs_hosts"
+ if test -z "$nfs_host"
then
- echo -e "${C_RED}No configured NFS drives found in /etc/fstab$C_RESET"
- exit 1
+ die "${C_RED}No configured NFS drives found in /etc/fstab$C_RESET"
+
fi
# WLAN with DHCP needs some time to get a lease, set up the routing, etc.