summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/init
diff options
context:
space:
mode:
authorDirk von Suchodoletz2009-06-03 19:21:15 +0200
committerDirk von Suchodoletz2009-06-03 19:21:15 +0200
commitbe95c8079f829c0f94e1897404117234cd018600 (patch)
tree2e66f6aea3d5389bfd3d586e34fe4ade17f7d66f /initramfs/stage3-stuff/init
parentMinor PreBoot changes ... (diff)
downloadcore-be95c8079f829c0f94e1897404117234cd018600.tar.gz
core-be95c8079f829c0f94e1897404117234cd018600.tar.xz
core-be95c8079f829c0f94e1897404117234cd018600.zip
Redirection of kernel (debug) output ... (see [[DebugLevel]] in the project wiki)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2925 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-xinitramfs/stage3-stuff/init4
1 files changed, 4 insertions, 0 deletions
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 0596b5d9..b250d043 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -45,6 +45,10 @@ ln -s /proc/self/fd/0 /dev/stdin
ln -s /proc/self/fd/1 /dev/stdout
ln -s /proc/self/fd/2 /dev/stderr
+# redirect kernel messages to tty10 instead of the standard console
+getty -i -n -l /bin/cat 38400 tty10 &
+setlogcons 10
+
# start device auto discovery/setup service of busybox
echo >/etc/mdev.conf
mdev -s