summaryrefslogtreecommitdiff
path: root/src/rootfs_skel/etc/inittab
blob: ee7818eee080be44604981d6a0df497027c7f8e9 (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
# Initial system critical filesystems mounting (/proc, /dev, /sys, etc.)
::sysinit:/sbin/openrc sysinit
::wait:/sbin/openrc boot
::wait:/sbin/openrc default
::wait:/sbin/openrc
null::sysinit:/sbin/udhcpc

# Set up a couple of getty's
#tty1::respawn:/sbin/getty 38400 tty1
#tty2::respawn:/sbin/getty 38400 tty2

# Put a getty on the serial port
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100

# Logging junk
null::sysinit:/bin/touch /var/log/messages
null::respawn:/sbin/syslogd -n -m 0
null::respawn:/sbin/klogd -n
#tty3::respawn:/usr/bin/tail -f /var/log/messages

# What to do at the "Three Finger Salute"
::ctrlaltdel:/sbin/reboot

# Stuff to do before rebooting
null::shutdown:/sbin/openrc shutdown
null::shutdown:/bin/umount -a -r
null::shutdown:/sbin/swapoff -a