summaryrefslogtreecommitdiff
path: root/packages/altboot/files/altboot-menu/99-ownScripts-example
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-04-23 14:47:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-23 14:47:58 +0000
commita6e74fd03c93ec9cdb31570b9a6b676aef4ee4c5 (patch)
treebd526f28c6b86d39c11cd5d2aeb04e187d6a0c80 /packages/altboot/files/altboot-menu/99-ownScripts-example
parent8508cd3be7c4c6a43dc3a7963b7a83ed8d4febe9 (diff)
altboot:
- Removed multiple die() functions - Altboot no longer activates an off-flash altboot-menu when not booting from flash - Added a debug_echo function which is disabled in non-rc and non-snapshot builds - RC's and snapshots now spawn a debug shell on tty4 right after the kernel is booted - die() messages are now colored red/white, debug is purple(?)/white - Fixed start_networking() on collie and made it a little bit more verbose
Diffstat (limited to 'packages/altboot/files/altboot-menu/99-ownScripts-example')
-rw-r--r--packages/altboot/files/altboot-menu/99-ownScripts-example8
1 files changed, 0 insertions, 8 deletions
diff --git a/packages/altboot/files/altboot-menu/99-ownScripts-example b/packages/altboot/files/altboot-menu/99-ownScripts-example
index b1b444f2d1..7566416b87 100644
--- a/packages/altboot/files/altboot-menu/99-ownScripts-example
+++ b/packages/altboot/files/altboot-menu/99-ownScripts-example
@@ -20,14 +20,6 @@ exit 0
# The "title" parameter is implemented at the end of this script so it will never be reached
# and the script will simply be ignored by altboot.
-
-# The die() function aborts the boot if something goes wrong and sets STDIN / STDERR / STDOUT
-# correctly.
-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() {