summaryrefslogtreecommitdiff
path: root/target/device/Atmel/atstk1005/target_skeleton/etc/inittab
blob: 82672b1bd0cd710160a5ebcbf49e1d743680b703 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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