diff options
author | Koen Kooi <koen@openembedded.org> | 2006-02-13 22:06:00 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-13 22:06:00 +0000 |
commit | 96911bb2416b57ccd0d01dedadbd95c45fba9f44 (patch) | |
tree | 9cc2b23b6c72b56d9b3f06b1984cb0b0760c1dea /packages/altboot/files/init.altboot | |
parent | 2026c12ee68647563fd60e711e93be0473d9ad4e (diff) | |
parent | e072285a180e3959071a8be9e471c9bf825ba518 (diff) |
merge of 0a90fa3f8e7b85f79fe8930a1969aff12f3553b8
and f207b08f6d852f81f78ab6a6c3ed4502fc88f898
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 |