summaryrefslogtreecommitdiffstats
path: root/sources/target_skeleton/etc/inittab
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-04-26 11:45:55 +0000
committerEric Andersen <andersen@codepoet.org>2002-04-26 11:45:55 +0000
commit08782ae7d8812933ad3f932132955ea1c0fb1e52 (patch)
tree1808993dc06e0c9a473c2e77236ce5d31039466d /sources/target_skeleton/etc/inittab
parent057adc1c84e0082cdf88da23a32bf2098680ff4e (diff)
downloadbuildroot-novena-08782ae7d8812933ad3f932132955ea1c0fb1e52.tar.gz
buildroot-novena-08782ae7d8812933ad3f932132955ea1c0fb1e52.zip
Major rework
Diffstat (limited to 'sources/target_skeleton/etc/inittab')
-rw-r--r--sources/target_skeleton/etc/inittab14
1 files changed, 8 insertions, 6 deletions
diff --git a/sources/target_skeleton/etc/inittab b/sources/target_skeleton/etc/inittab
index f159816da..2e91bd1e6 100644
--- a/sources/target_skeleton/etc/inittab
+++ b/sources/target_skeleton/etc/inittab
@@ -16,15 +16,17 @@
# main rc script
::sysinit:/etc/init.d/rcS
-# main setup program
-::respawn:-/bin/sh
+# Set up a couple of getty's
+tty1::respawn:/sbin/getty 38400 tty1
+tty2::respawn:/sbin/getty 38400 tty2
-# convenience shell
-tty2::askfirst:-/bin/sh
+# Put a getty on the serial port
+#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
-# set up stuff for logging
-null::sysinit:/bin/dmesg > /dev/tty4
+# Logging junk
+tty2::once:/bin/touch /var/log/messages
tty3::respawn:/usr/bin/tail -f /var/log/messages
+tty4::once:/bin/dmesg
tty4::respawn:/usr/bin/tail -f /proc/kmsg
# Stuff to do for the 3-finger salute