summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Schmelzer2009-06-03 17:49:12 +0200
committerSebastian Schmelzer2009-06-03 17:49:12 +0200
commitdcd3e9c2ef636c2e8994c128e207ea813052ec34 (patch)
tree34447e147cf32ba9973ddbbc900f3dd19ff0ffe0
parentNext gen preboot ... (diff)
downloadcore-dcd3e9c2ef636c2e8994c128e207ea813052ec34.tar.gz
core-dcd3e9c2ef636c2e8994c128e207ea813052ec34.tar.xz
core-dcd3e9c2ef636c2e8994c128e207ea813052ec34.zip
redirect kernel messages to tty10 in preboot init
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2920 95ad53e4-c205-0410-b2fa-d234c58c8868
-rwxr-xr-xboot-env/preboot/uclib-rootfs/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot-env/preboot/uclib-rootfs/init b/boot-env/preboot/uclib-rootfs/init
index 7336e3ae..5ee0d17a 100755
--- a/boot-env/preboot/uclib-rootfs/init
+++ b/boot-env/preboot/uclib-rootfs/init
@@ -62,6 +62,9 @@ done
mkdir -p ${devdir}/pts ${devdir}/shm
export PATH=/bin:/sbin:/usr/bin/:/usr/sbin
+# redirect kernel messages to tty10 instead of tty1
+setlogcons 10
+
dialog --infobox "Starting OpenSLX preboot environment ..." 3 65
# initramfs-setup configuration (common settings for all clients using a