summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-19 13:05:05 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-19 13:05:05 +0000
commitf86aa1e90fd0c0c42fd61c5cc92365f3f9d999f0 (patch)
tree3d7700b5f60adc651f6f8682cb32955dc3d39167 /packages/altboot/files/altboot-menu/Advanced
parent91439c2b155a0d50d98aeb19d9a60402672b979d (diff)
altboot: Fixed a typo preventing any NFS boots
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.