diff options
Diffstat (limited to 'sources/target_skeleton/etc/inittab')
-rw-r--r-- | sources/target_skeleton/etc/inittab | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sources/target_skeleton/etc/inittab b/sources/target_skeleton/etc/inittab index f31089f13..a6c014e75 100644 --- a/sources/target_skeleton/etc/inittab +++ b/sources/target_skeleton/etc/inittab @@ -13,12 +13,19 @@ # action == one of sysinit, respawn, askfirst, wait, and once # process == program to run -# main rc script +# Startup the system +null::sysinit:/bin/mount -o remount,rw / +null::sysinit:/bin/mount -t proc proc /proc +null::sysinit:/bin/mount -a +null::sysinit:/bin/hostname -F /etc/hostname +null::sysinit:/sbin/ifconfig lo 127.0.0.1 up +null::sysinit:/sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo +# now run any rc scripts ::sysinit:/etc/init.d/rcS # Set up a couple of getty's -tty1::respawn:/sbin/getty 38400 tty2 -tty2::respawn:/sbin/getty 38400 tty3 +tty1::respawn:/sbin/getty 38400 tty1 +tty2::respawn:/sbin/getty 38400 tty2 # Put a getty on the serial port #ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 @@ -27,7 +34,7 @@ tty2::respawn:/sbin/getty 38400 tty3 null::sysinit:/bin/touch /var/log/messages null::respawn:/sbin/syslogd -n -m 0 null::respawn:/sbin/klogd -n -tty4::respawn:/usr/bin/tail -f /var/log/messages +tty3::respawn:/usr/bin/tail -f /var/log/messages # Stuff to do for the 3-finger salute ::ctrlaltdel:/sbin/reboot |