1 | # DatuX inittab |
---|
2 | # These are the default runlevels in Slackware: |
---|
3 | # 0 = halt |
---|
4 | # 1 = single user mode |
---|
5 | # 2 = unused (but configured the same as runlevel 3) |
---|
6 | # 3 = multiuser mode (default Slackware runlevel) |
---|
7 | # 4 = X11 with KDM/GDM/XDM (session managers) |
---|
8 | # 5 = unused (but configured the same as runlevel 3) |
---|
9 | # 6 = reboot |
---|
10 | |
---|
11 | # Default runlevel. (Do not set to 0 or 6) |
---|
12 | id:3:initdefault: |
---|
13 | |
---|
14 | # System initialization (runs when system boots). |
---|
15 | si:S:sysinit:/etc/rc.d/rc.S |
---|
16 | |
---|
17 | # Script to run when going single user (runlevel 1). |
---|
18 | su:1S:wait:/etc/rc.d/rc.K |
---|
19 | |
---|
20 | # Script to run when going multi user. |
---|
21 | rc:2345:wait:/etc/rc.d/rc.M |
---|
22 | |
---|
23 | # What to do at the "Three Finger Salute". |
---|
24 | ca::ctrlaltdel:echo -e "\a*AUW!*" |
---|
25 | |
---|
26 | # Runlevel 0 halts the system. |
---|
27 | l0:0:wait:/etc/rc.d/rc.0 |
---|
28 | |
---|
29 | # Runlevel 6 reboots the system. |
---|
30 | l6:6:wait:/etc/rc.d/rc.6 |
---|
31 | |
---|
32 | # What to do when power fails. |
---|
33 | pf::powerfail:/sbin/genpowerfail start |
---|
34 | |
---|
35 | # If power is back, cancel the running shutdown. |
---|
36 | pg::powerokwait:/sbin/genpowerfail stop |
---|
37 | |
---|
38 | # These are the standard console login getties in multiuser mode: |
---|
39 | # GEEN shell op tty1, tty2, en tty3 |
---|
40 | c4:1235:respawn:/sbin/agetty 38400 tty4 linux |
---|
41 | c5:1235:respawn:/sbin/agetty 38400 tty5 linux |
---|
42 | c6:12345:respawn:/sbin/agetty 38400 tty6 linux |
---|
43 | |
---|
44 | # Local serial lines: |
---|
45 | #s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100 |
---|
46 | #s2:12345:respawn:/sbin/agetty -L ttyS1 9600 vt100 |
---|
47 | |
---|
48 | # Dialup lines: |
---|
49 | #d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100 |
---|
50 | #d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100 |
---|
51 | |
---|
52 | # Runlevel 4 used to be for an X window only system, until we discovered |
---|
53 | # that it throws init into a loop that keeps your load avg at least 1 all |
---|
54 | # the time. Thus, there is now one getty opened on tty6. Hopefully no one |
---|
55 | # will notice. ;^) |
---|
56 | # It might not be bad to have one text console anyway, in case something |
---|
57 | # happens to X. |
---|
58 | x1:4:wait:/etc/rc.d/rc.4 |
---|
59 | |
---|
60 | #start deamontools |
---|
61 | DS:3:respawn:/usr/bin/svscanboot |
---|
62 | |
---|
63 | #postinstallation and service checks |
---|
64 | PI:3:wait:/sbin/postinst.sh |
---|
65 | |
---|
66 | #start webinterface after postinstallation |
---|
67 | WI:3:respawn:/etc/rc.d/rc.apache_webint |
---|
68 | |
---|
69 | # END OF DEFAULT CONFIG |
---|