summaryrefslogtreecommitdiff
path: root/packages/altboot/files
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-01-12 10:37:19 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-12 10:37:19 +0000
commit308ca12370f485243e31dea49bf3d98dde33c901 (patch)
tree261e87b7814a14fa76ab8e3e53b1804bd862ed54 /packages/altboot/files
parent2b8d6d7c246759913efb718d5417910f1336ed02 (diff)
altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE)
Diffstat (limited to 'packages/altboot/files')
-rw-r--r--packages/altboot/files/init.altboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index 5c28edb5f3..2b7df14c86 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -243,7 +243,7 @@ wait_for_input() {
# * * * * * * This is the main function * * * * * *
-if ! test -z "$*"
+if test -n "$*" -a "$*" != "tty1"
then
echo "altboot: Using real init [$REAL_INIT] [$*] *" >/dev/tty1
exec $REAL_INIT $*