summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atstk1002/target_skeleton/etc/inittab
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/atstk1002/target_skeleton/etc/inittab')
-rw-r--r--target/device/Atmel/atstk1002/target_skeleton/etc/inittab26
1 files changed, 26 insertions, 0 deletions
diff --git a/target/device/Atmel/atstk1002/target_skeleton/etc/inittab b/target/device/Atmel/atstk1002/target_skeleton/etc/inittab
new file mode 100644
index 000000000..6a249d948
--- /dev/null
+++ b/target/device/Atmel/atstk1002/target_skeleton/etc/inittab
@@ -0,0 +1,26 @@
+# 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 any rc scripts
+::sysinit:/etc/init.d/rcS
+
+# Run a shell on the first serial port. Comment this out if you want
+# a getty instead
+ttyS0::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