diff options
author | Matthias Hentges <oe@hentges.net> | 2006-02-12 13:57:42 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-12 13:57:42 +0000 |
commit | 6dcf5a170c84ec3fe59ba939b3d37bd8ae06012f (patch) | |
tree | b1c1cf23d15ea7c3b06056c0012d813523994880 /packages/altboot/files/init.altboot | |
parent | abcdf8c3bf548acab0534763a377f41f501da3bf (diff) |
altboot
- Do not show option for USB boot on devices w/o USB host
- Disable "Boot original INIT"
- Do not drop into emergency shell on die() but restart altboot with menu (doesn't work for every plugin, yet)
- Some fixes / enhancements for tar.gz installer
- Remove "orce" error message when cmdline "-force" is used (should have seen this coming heh)
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 |