summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
diff options
context:
space:
mode:
Diffstat (limited to 'packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick')
-rw-r--r--packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick7
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
index 3cf8c506b0..b573e7a10c 100644
--- a/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
+++ b/packages/altboot/files/altboot-menu/Advanced/30-bootUSB-Stick
@@ -8,12 +8,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
-}
-
+
# This function is activated by init.altboot by calling this script with the "run" option
run_module() {