From e27fef51834042a1b108e04927a2a91742a54327 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Thu, 3 Jul 2008 08:27:50 +0000 Subject: Add support for KwikByte KB9202 board, courtesy Brian Beattie --- .../KwikByte/kb9202/target_skeleton/etc/inittab | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100755 target/device/KwikByte/kb9202/target_skeleton/etc/inittab (limited to 'target/device/KwikByte/kb9202/target_skeleton/etc/inittab') diff --git a/target/device/KwikByte/kb9202/target_skeleton/etc/inittab b/target/device/KwikByte/kb9202/target_skeleton/etc/inittab new file mode 100755 index 000000000..b2da8ed49 --- /dev/null +++ b/target/device/KwikByte/kb9202/target_skeleton/etc/inittab @@ -0,0 +1,33 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +# now run any rc scripts +null::sysinit:/etc/init.d/rcS + +# Put a getty on the serial port +ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 +#tty1::respawn:-/bin/sh +#tty2::respawn:-/bin/sh + +# Stuff to do for the 3-finger salute +::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +null::shutdown:/usr/bin/killall klogd +null::shutdown:/usr/bin/killall syslogd +null::shutdown:/bin/umount -a -r +null::shutdown:/sbin/swapoff -a + -- cgit v1.2.3