summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-12 13:57:42 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-12 13:57:42 +0000
commit6dcf5a170c84ec3fe59ba939b3d37bd8ae06012f (patch)
treeb1c1cf23d15ea7c3b06056c0012d813523994880 /packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
parentabcdf8c3bf548acab0534763a377f41f501da3bf (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/altboot-menu/Advanced/30-bootUSB-Stick')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
index 3ef17764d0..c5222800e5 100644
--- a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
+++ b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
@@ -7,6 +7,7 @@
M_TITLE="Boot USB Storage"
+test "$USB_HOST_AVAILABLE" = "yes" || exit 0
die() {
echo "ERROR: $1" >/dev/tty0
exec $SH_SHELL </dev/tty0 >/dev/tty0 2>&1