qi: Bump to release 2.12
[dragora.git] / archive / etc / inittab
blobda179b1bfa753a0d14a129af3abdaffa5f3a9e9f
1 # /etc/inittab:
3 # The inittab(5) file describes which processes are started at
4 # boot-up and during normal operation distinguishes multiple
5 # runlevels, each of which can have its own set of processes
6 # that are started.
8 # Copyright (c) 2018, 2021 Matias Fonzo, <selk@dragora.org>.
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
14 #    http://www.apache.org/licenses/LICENSE-2.0
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
22 # Init runlevels in Dragora
23 #  0  =  Halt or power-off
24 #  1  =  Single-user mode
25 #  2  =  -> 3
26 #  3  =  Multi-user mode
27 #  4  =  X Window sessions
28 #  5  =  ^ 4
29 #  6  =  Reboot
31 # Set default runlevel
32 id:3:initdefault:
34 # System initialization
35 si::sysinit:/etc/rc.d/rc.startup
37 # Runlevel scripts
38 r0:0:wait:/etc/rc.d/rc.shutdown
39 r1:1S:wait:/etc/rc.d/rc.single
40 r3:2345:wait:/etc/rc.d/rc.multiuser
41 r4:45:respawn:/etc/rc.d/rc.x11
42 r6:6:wait:/etc/rc.d/rc.reboot
44 # What to do when the "magic keys" are pressed
45 ca::ctrlaltdel:/sbin/shutdown -t 3 -r now
47 # Virtual consoles to log in
48 c1:123:respawn:/sbin/agetty --noclear tty1 38400 linux
49 c2:123:respawn:/sbin/agetty tty2 38400 linux
50 c3:12345:respawn:/sbin/agetty tty3 38400 linux
51 #c4:12345:respawn:/sbin/agetty tty4 38400 linux
52 #c5:12345:respawn:/sbin/agetty tty5 38400 linux
53 #c6:12345:respawn:/sbin/agetty tty6 38400 linux
55 # Local serial lines
56 #s1:12345:respawn:/sbin/agetty -L always ttyS0 115200 vt100
57 #s2:12345:respawn:/sbin/agetty -L always ttyS1 115200 vt100