summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-18 19:15:07 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-18 19:15:07 +0000
commit65b7c2346f0f1421ea1297a3a0aa994ecac192ec (patch)
treebe2bccc0093e4ce9ac6b77d02730cd2264fa79c0 /packages/altboot/files/altboot-menu/Advanced/40-bootNFS
parent8d60e06669abb89149ba60248ee6b72b6a274f04 (diff)
altboot:
- Fixed a bug where altboot wouldn't prompt for the menu but do init 5 instead - Cosmetic changes (Thanks to andrewy@#openzaurus) - Fixed a bug where pressing enter to start altboot would launch the default option. (Thanks to prh@#openzaurus) - Disabled "Copy RootFS" menu item as this part is not finished, yet.
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced/40-bootNFS')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
index 33e869bbe1..88e546a059 100644
--- a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
+++ b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
@@ -42,6 +42,11 @@ 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"
+ then
+ echo -e "${C_RED}No configured NFS drives found in /etc/fstab$C_RESET"
+ exit 1
+ fi
# WLAN with DHCP needs some time to get a lease, set up the routing, etc.
echo -n "Waiting for WLAN"