From 308ca12370f485243e31dea49bf3d98dde33c901 Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Thu, 12 Jan 2006 10:37:19 +0000 Subject: altboot: Allow for debug kernels (menu wouldn't show with tty1 in CMDLINE) --- packages/altboot/altboot.bb | 2 +- packages/altboot/files/init.altboot | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/altboot/altboot.bb b/packages/altboot/altboot.bb index a322dacdd9..de5d780579 100644 --- a/packages/altboot/altboot.bb +++ b/packages/altboot/altboot.bb @@ -6,7 +6,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges " LICENSE = "GPL" -PR = "r8" +PR = "r9" SRC_URI = "file://altboot-menu \ 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 $* -- cgit v1.2.3