diff options
author | Matthias Hentges <oe@hentges.net> | 2006-02-12 14:01:00 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-12 14:01:00 +0000 |
commit | 0d74a7e0914de459d712694d0e39dd6b436aed8d (patch) | |
tree | da927c0d4bcd895a1304809c7c7ba91b13ae9a3b /packages/altboot/files/init.altboot | |
parent | 2766ea08070fae6b438cd5a4ed7277e9ea17e835 (diff) | |
parent | 6dcf5a170c84ec3fe59ba939b3d37bd8ae06012f (diff) |
merge of 9d680ed94ee3622289ca2e365ea21a4fe475b650
and a6f5fab8fef608fbada37e8e35857ada2aa931da
Diffstat (limited to 'packages/altboot/files/init.altboot')
-rw-r--r-- | packages/altboot/files/init.altboot | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot index eb321ad456..2ba6f654b5 100644 --- a/packages/altboot/files/init.altboot +++ b/packages/altboot/files/init.altboot @@ -33,7 +33,11 @@ C_RESET="\033[0m" die() { echo "ERROR: $1" >/dev/tty0 - exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1 + #exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1 + + echo -e "\nPress <ENTER> to launch the altboot menu" + read junk + exec /sbin/init.altboot -force</dev/tty0 >/dev/tty0 2>&1 } @@ -300,7 +304,7 @@ else # When started with -force, always print the menu - echo "$*" | grep -q "-force" && TIMEOUT=0 + echo "$*" | grep -q -- "-force" && TIMEOUT=0 # This timeout works by reading /proc/interrupts to see if the keyboard interrupt |