altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE)
authorMatthias Hentges <oe@hentges.net>
Thu, 12 Jan 2006 10:37:19 +0000 (10:37 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 12 Jan 2006 10:37:19 +0000 (10:37 +0000)
packages/altboot/altboot.bb
packages/altboot/files/init.altboot

index a322dac..de5d780 100644 (file)
@@ -6,7 +6,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges  <oe@hentges.net>"
 LICENSE = "GPL"
  
 
-PR = "r8"
+PR = "r9"
 
 
 SRC_URI = "file://altboot-menu \
index 5c28edb..2b7df14 100644 (file)
@@ -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 $*