aboutsummaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk100x/target_skeleton/etc/inittab
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-04-24 11:22:06 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-04-24 11:22:06 +0000
commit701475f791025cfb08e9b8cee35bb63ca772416f (patch)
tree42f671f8309e37ab70f18bca35265a097fc90cd0 /target/device/Atmel/atstk100x/target_skeleton/etc/inittab
parentb4173a87fec4e0f5ac497a6b1581279fdb5042be (diff)
downloadbuildroot-novena-701475f791025cfb08e9b8cee35bb63ca772416f.tar.gz
buildroot-novena-701475f791025cfb08e9b8cee35bb63ca772416f.zip
This patch renames the Atmel atstk1002 target board to a more generic atstk100x name. This to make it easier to add support for other CPU-boards than atstk1002.
Submitted by Hans-Christian Egtvedt
Diffstat (limited to 'target/device/Atmel/atstk100x/target_skeleton/etc/inittab')
-rw-r--r--target/device/Atmel/atstk100x/target_skeleton/etc/inittab28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/device/Atmel/atstk100x/target_skeleton/etc/inittab b/target/device/Atmel/atstk100x/target_skeleton/etc/inittab
new file mode 100644
index 000000000..82672b1bd
--- /dev/null
+++ b/target/device/Atmel/atstk100x/target_skeleton/etc/inittab
@@ -0,0 +1,28 @@
+# Inittab for the ATSTK1000 development board
+#
+# 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
+
+# Run the rcS script after kernel is booted.
+::sysinit:/etc/init.d/rcS
+
+# Run a shell on the first serial port. Comment out if you want a getty instead.
+ttyS0::respawn:-/bin/sh
+
+# Run a shell on the g_serial port (USB gadget device)? This shell will spawn
+# error message if the device is not connected.
+#ttygserial::respawn:-/bin/sh
+
+# Uncomment this to run a getty on the first serial port.
+#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
+ttyS2::respawn:/sbin/getty -L ttyS2 115200 vt100
+
+# Run a script on shutdown.
+::shutdown:/etc/init.d/rcK