diff options
author | Matthias Hentges <oe@hentges.net> | 2006-01-19 13:05:05 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-01-19 13:05:05 +0000 |
commit | f86aa1e90fd0c0c42fd61c5cc92365f3f9d999f0 (patch) | |
tree | 3d7700b5f60adc651f6f8682cb32955dc3d39167 /packages | |
parent | 91439c2b155a0d50d98aeb19d9a60402672b979d (diff) |
altboot: Fixed a typo preventing any NFS boots
Diffstat (limited to 'packages')
-rw-r--r-- | packages/altboot/files/altboot-menu/Advanced/40-bootNFS | 6 | ||||
-rw-r--r-- | packages/altboot/files/init.altboot | 1 |
2 files changed, 3 insertions, 4 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. diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot index 830be08603..b1d0704501 100644 --- a/packages/altboot/files/init.altboot +++ b/packages/altboot/files/init.altboot @@ -5,7 +5,6 @@ # New menu entries can be created be putting files into /etc/altboot-menu. # - test -e /etc/altboot.func && . /etc/altboot.func || die "ERROR: /etc/altboot.func not found. Check your installation!" CURRENT_ENV="`set`" |