From 08782ae7d8812933ad3f932132955ea1c0fb1e52 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 26 Apr 2002 11:45:55 +0000 Subject: Major rework --- sources/target_skeleton/etc/inittab | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'sources/target_skeleton/etc/inittab') 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 -- cgit v1.2.3