summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atngw100/target_skeleton/etc/inittab
diff options
context:
space:
mode:
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/inittab')
-rw-r--r--target/device/Atmel/atngw100/target_skeleton/etc/inittab16
1 files changed, 9 insertions, 7 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/inittab b/target/device/Atmel/atngw100/target_skeleton/etc/inittab
index b135bf2b6..539edb7fb 100644
--- a/target/device/Atmel/atngw100/target_skeleton/etc/inittab
+++ b/target/device/Atmel/atngw100/target_skeleton/etc/inittab
@@ -1,8 +1,7 @@
# Inittab for the ATNGW100 development board
#
# Note: BusyBox init doesn't support runlevels. The runlevels field is
-# completely ignored by BusyBox init. If you want runlevels, use
-# sysvinit.
+# completely ignored by BusyBox init. If you want runlevels, use sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
@@ -11,15 +10,18 @@
# action == one of sysinit, respawn, askfirst, wait, and once
# process == program to run
-# Run any rc scripts
+# Run the rcS script after kernel is booted.
::sysinit:/etc/init.d/rcS
-# Run a shell on the first serial port. Comment this out if you want
-# a getty instead
+# Run a shell on the first serial port. Comment out if you want a getty instead.
ttyS0::respawn:-/bin/sh
-# Uncomment this to run a getty on the first serial port
+# 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
-# Run a script on shutdown
+# Run a script on shutdown.
::shutdown:/etc/init.d/rcK