summaryrefslogtreecommitdiff
path: root/configs/talking-parabola-openrc/root-image/etc/inittab
blob: 787b7318b8e9d34747f5812d6845e6deb66d7a84 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
# /etc/inittab:  This file describes how the INIT process should set up
#                the system in a certain run-level.

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/usr/bin/openrc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/usr/bin/openrc boot

l0:0:wait:/usr/bin/openrc shutdown
l0s:0:wait:/usr/bin/halt -dhip
l1:S1:wait:/usr/bin/openrc single
l2:2:wait:/usr/bin/openrc nonetwork
l3:3:wait:/usr/bin/openrc default
l4:4:wait:/usr/bin/openrc default
l5:5:wait:/usr/bin/openrc default
l6:6:wait:/usr/bin/openrc reboot
l6r:6:wait:/usr/bin/reboot -d
#z6:6:respawn:/usr/bin/sulogin

# new-style single-user
su0:S:wait:/usr/bin/openrc single
su1:S:wait:/usr/bin/sulogin

# TERMINALS
c1:12345:respawn:/usr/bin/agetty -a root --noclear 38400 tty1 linux
c2:2345:respawn:/usr/bin/agetty 38400 tty2 linux
c3:2345:respawn:/usr/bin/agetty 38400 tty3 linux
c4:2345:respawn:/usr/bin/agetty 38400 tty4 linux
c5:2345:respawn:/usr/bin/agetty 38400 tty5 linux
c6:2345:respawn:/usr/bin/agetty 38400 tty6 linux

# SERIAL CONSOLES
#s0:12345:respawn:/usr/bin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/usr/bin/agetty 9600 ttyS1 vt100

# What to do at the "Three Finger Salute".
ca:12345:ctrlaltdel:/usr/bin/shutdown -r now