clockwerk-tools – Diff between revs 1 and 7
?pathlinks?
Rev 1 | Rev 7 | |||
---|---|---|---|---|
1 | # /etc/inittab: init(8) configuration. |
1 | # /etc/inittab: init(8) configuration. |
|
2 | # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ |
2 | # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ |
|
3 | |
3 | |
|
4 | # The default runlevel. |
4 | # The default runlevel. |
|
5 | id:2:initdefault: |
5 | id:2:initdefault: |
|
6 | |
6 | |
|
7 | # Boot-time system configuration/initialization script. |
7 | # Boot-time system configuration/initialization script. |
|
8 | # This is run first except when booting in emergency (-b) mode. |
8 | # This is run first except when booting in emergency (-b) mode. |
|
9 | si::sysinit:/etc/init.d/rcS |
9 | si::sysinit:/etc/init.d/rcS |
|
10 | |
10 | |
|
11 | # What to do in single-user mode. |
11 | # What to do in single-user mode. |
|
12 | ~~:S:wait:/sbin/sulogin |
12 | ~~:S:wait:/sbin/sulogin |
|
13 | |
13 | |
|
14 | # /etc/init.d executes the S and K scripts upon change |
14 | # /etc/init.d executes the S and K scripts upon change |
|
15 | # of runlevel. |
15 | # of runlevel. |
|
16 | # |
16 | # |
|
17 | # Runlevel 0 is halt. |
17 | # Runlevel 0 is halt. |
|
18 | # Runlevel 1 is single-user. |
18 | # Runlevel 1 is single-user. |
|
19 | # Runlevels 2-5 are multi-user. |
19 | # Runlevels 2-5 are multi-user. |
|
20 | # Runlevel 6 is reboot. |
20 | # Runlevel 6 is reboot. |
|
21 | |
21 | |
|
22 | l0:0:wait:/etc/init.d/rc 0 |
22 | l0:0:wait:/etc/init.d/rc 0 |
|
23 | l1:1:wait:/etc/init.d/rc 1 |
23 | l1:1:wait:/etc/init.d/rc 1 |
|
24 | l2:2:wait:/etc/init.d/rc 2 |
24 | l2:2:wait:/etc/init.d/rc 2 |
|
25 | l3:3:wait:/etc/init.d/rc 3 |
25 | l3:3:wait:/etc/init.d/rc 3 |
|
26 | l4:4:wait:/etc/init.d/rc 4 |
26 | l4:4:wait:/etc/init.d/rc 4 |
|
27 | l5:5:wait:/etc/init.d/rc 5 |
27 | l5:5:wait:/etc/init.d/rc 5 |
|
28 | l6:6:wait:/etc/init.d/rc 6 |
28 | l6:6:wait:/etc/init.d/rc 6 |
|
29 | # Normally not reached, but fallthrough in case of emergency. |
29 | # Normally not reached, but fallthrough in case of emergency. |
|
30 | z6:6:respawn:/sbin/sulogin |
30 | z6:6:respawn:/sbin/sulogin |
|
31 | |
31 | |
|
32 | # What to do when CTRL-ALT-DEL is pressed. |
32 | # What to do when CTRL-ALT-DEL is pressed. |
|
33 | ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now |
33 | ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now |
|
34 | |
34 | |
|
35 | # Action on special keypress (ALT-UpArrow). |
35 | # Action on special keypress (ALT-UpArrow). |
|
36 | #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." |
36 | #kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work." |
|
37 | |
37 | |
|
38 | # What to do when the power fails/returns. |
38 | # What to do when the power fails/returns. |
|
39 | pf::powerwait:/etc/init.d/powerfail start |
39 | pf::powerwait:/etc/init.d/powerfail start |
|
40 | pn::powerfailnow:/etc/init.d/powerfail now |
40 | pn::powerfailnow:/etc/init.d/powerfail now |
|
41 | po::powerokwait:/etc/init.d/powerfail stop |
41 | po::powerokwait:/etc/init.d/powerfail stop |
|
42 | |
42 | |
|
43 | # /sbin/getty invocations for the runlevels. |
43 | # /sbin/getty invocations for the runlevels. |
|
44 | # |
44 | # |
|
45 | # The "id" field MUST be the same as the last |
45 | # The "id" field MUST be the same as the last |
|
46 | # characters of the device (after "tty"). |
46 | # characters of the device (after "tty"). |
|
47 | # |
47 | # |
|
48 | # Format: |
48 | # Format: |
|
49 | # <id>:<runlevels>:<action>:<process> |
49 | # <id>:<runlevels>:<action>:<process> |
|
50 | # |
50 | # |
|
51 | # Note that on most Debian systems tty7 is used by the X Window System, |
51 | # Note that on most Debian systems tty7 is used by the X Window System, |
|
52 | # so if you want to add more getty's go ahead but skip tty7 if you run X. |
52 | # so if you want to add more getty's go ahead but skip tty7 if you run X. |
|
53 | # |
53 | # |
|
54 | 1:2345:respawn:/sbin/rungetty tty1 -u opensim -g opensim -w /home/opensim/os -- /usr/bin/mono OpenSim.exe |
54 | 1:2345:respawn:/sbin/rungetty tty1 -u opensim -g opensim -w /srv/opensim -- /usr/bin/mono OpenSim.exe |
|
55 | 2:23:respawn:/sbin/getty 38400 tty2 |
55 | 2:23:respawn:/sbin/getty 38400 tty2 |
|
56 | #3:23:respawn:/sbin/getty 38400 tty3 |
56 | #3:23:respawn:/sbin/getty 38400 tty3 |
|
57 | #4:23:respawn:/sbin/getty 38400 tty4 |
57 | #4:23:respawn:/sbin/getty 38400 tty4 |
|
58 | #5:23:respawn:/sbin/getty 38400 tty5 |
58 | #5:23:respawn:/sbin/getty 38400 tty5 |
|
59 | #6:23:respawn:/sbin/getty 38400 tty6 |
59 | #6:23:respawn:/sbin/getty 38400 tty6 |
|
60 | |
60 | |
|
61 | # Example how to put a getty on a serial line (for a terminal) |
61 | # Example how to put a getty on a serial line (for a terminal) |
|
62 | # |
62 | # |
|
63 | #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 |
63 | #T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100 |
|
64 | #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 |
64 | #T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100 |
|
65 | |
65 | |
|
66 | # Example how to put a getty on a modem line. |
66 | # Example how to put a getty on a modem line. |
|
67 | # |
67 | # |
|
68 | #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 |
68 | #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3 |
|
69 | |
69 | |
|
70 | |
70 | |