summaryrefslogtreecommitdiffstats
path: root/target/device/KwikByte/kb9202/target_skeleton/etc/inittab
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-03 08:27:50 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-07-03 08:27:50 +0000
commite27fef51834042a1b108e04927a2a91742a54327 (patch)
treefd0179bb0da69ac3d7c69f7aac2f8c9ef7cb961a /target/device/KwikByte/kb9202/target_skeleton/etc/inittab
parent41e6a671f3cc284da7dc32eb96e257265d233893 (diff)
downloadbuildroot-novena-e27fef51834042a1b108e04927a2a91742a54327.tar.gz
buildroot-novena-e27fef51834042a1b108e04927a2a91742a54327.zip
Add support for KwikByte KB9202 board, courtesy Brian Beattie
Diffstat (limited to 'target/device/KwikByte/kb9202/target_skeleton/etc/inittab')
-rwxr-xr-xtarget/device/KwikByte/kb9202/target_skeleton/etc/inittab33
1 files changed, 33 insertions, 0 deletions
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 <andersen@codepoet.org>
+#
+# 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>:<runlevels>:<action>:<process>
+#
+# 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
+