summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-04-16 12:31:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-16 12:31:48 +0000
commite548219776e8934492025573169b3c5e2f8a79d1 (patch)
treec5068fd0be7c949a855d3ca95c9cde4d1cd3735a /packages/altboot/files/altboot-menu/Advanced
parenta20617a89a744f4521065324ebe33811a036b098 (diff)
altboot: - Fix image_reconf to propperly mount /home.flash
- Add another bunch of missing redirects for Collie - Work around error message of playbeep.sh on first-boot - Re-enable propper failsafe fallthroughs in init.altboot
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/40-bootNFS18
1 files changed, 12 insertions, 6 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
index c3fb7cedc4..f18c27b044 100644
--- a/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
+++ b/packages/altboot/files/altboot-menu/Advanced/40-bootNFS
@@ -1,8 +1,11 @@
-# !/bin/sh
+#! /bin/sh
#
-# Copyright Matthias Hentges (c) 2005
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the license)
#
-# License: GPL (see http://www.gnu.org/licenses/gpl.txt for a copy of the GPL)
+# Filename: 40-bootNFS
+# Date: 14-Apr-06
+
M_TITLE="Boot from NFS"
@@ -70,12 +73,15 @@ run_module() {
if test "$cnt" = 30
then
- echo "Restarting udhcpc"
+ let cnt=$cnt+1
+ echo "Restarting udhcpc for [$WLAN_NIC]"
killall udhcpc
- udhcpc -i "$WLAN_NIC" -H `cat /etc/hostname` >/dev/null 2>&1
+ udhcpc -i "$WLAN_NIC" -H `cat /etc/hostname` >/dev/tty1 2>&1
+
+
else
- die "Failed to activate WLAN!"
+ mdie "Failed to activate WLAN!"
break
fi
else