Remove mgetty support.
[grml-etc.git] / etc / inittab.small
1 # Filename:      inittab.small
2 # Purpose:       init(8) configuration for grml-small
3 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
4 # Bug-Reports:   see http://grml.org/bugs/
5 # License:       This file is licensed under the GPL v2.
6 ################################################################################
7
8 # The default runlevel.
9 id:2:initdefault:
10
11 # Boot-time system configuration/initialization script.
12 # This is run first except when booting in emergency (-b) mode.
13 si::sysinit:/etc/init.d/rcS
14
15 # What to do in single-user mode.
16 ~~:S:respawn:/bin/zsh --login >/dev/tty1 2>&1 </dev/tty1
17
18 # /etc/init.d executes the S and K scripts upon change
19 # of runlevel.
20 #
21 # Runlevel 0 is halt.
22 # Runlevel 1 is single-user.
23 # Runlevels 2-5 are multi-user.
24 # Runlevel 6 is reboot.
25
26 l0:0:wait:/etc/init.d/grml-halt
27 l1:1:wait:/etc/init.d/rc 1
28 l2:2:wait:/etc/init.d/rc 2
29 l3:3:wait:/etc/init.d/rc 3
30 l4:4:wait:/etc/init.d/rc 4
31 l5:5:wait:/etc/init.d/rc 5
32 l6:6:wait:/etc/init.d/grml-reboot
33
34 # What to do when CTRL-ALT-DEL is pressed.
35 ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
36
37 # Action on special keypress (ALT-UpArrow).
38 kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."
39
40 # What to do when the power fails/returns.
41 pf::powerwait:/etc/init.d/powerfail start
42 pn::powerfailnow:/etc/init.d/powerfail now
43 po::powerokwait:/etc/init.d/powerfail stop
44
45 # /sbin/getty invocations for the runlevels.
46 #
47 # The "id" field MUST be the same as the last
48 # characters of the device (after "tty").
49 #
50 # Format:
51 #  <id>:<runlevels>:<action>:<process>
52 # 4 virtual consoles with immortal shells
53 # Note that on most Debian systems tty7 is used by the X Window System.
54 # Use tty8 a second xserver.
55 1:12345:respawn:/sbin/rungetty tty1 --noclear -u root -g root --autologin root /usr/bin/zsh-login
56 2:2345:respawn:/sbin/rungetty tty2 -u grml -g grml --autologin grml /usr/bin/grml-init
57 3:2345:respawn:/sbin/rungetty tty3 -u grml -g grml --autologin grml /usr/bin/grml-init
58 #4:2345:respawn:/sbin/rungetty tty4 -u grml -g grml --autologin grml /usr/bin/grml-init
59 #5:2345:respawn:/sbin/rungetty tty5 -u grml -g grml --autologin grml /usr/bin/grml-init
60 #6:2345:respawn:/sbin/rungetty tty6 -u grml -g grml --autologin grml /usr/bin/grml-init
61 #9:2345:respawn:/sbin/getty  38400 tty9
62 #10:2345:respawn:/bin/zsh --login -c "/usr/sbin/grml-iptstate ; /usr/bin/grml-init-screen" >/dev/tty10 2>&1 </dev/tty10
63 #11:2345:respawn:/bin/zsh --login -c "/usr/bin/htop ; /usr/bin/grml-init-screen" >/dev/tty11 2>&1 </dev/tty11
64 #12:2345:respawn:/bin/zsh --login -c "/usr/bin/grml-init-multitail ; /usr/bin/grml-init-screen" >/dev/tty12 2>&1 </dev/tty12
65
66 ################################################################################
67 # Please do NOT remove the line with the marker as it is important for the
68 # bootoption serial/console. line(s) will be inserted here according to the
69 # provided kernel command line:
70 #grmlserial# is a marker, important for the bootoption serial/console
71 ################################################################################
72
73 # Example how to put a getty on a serial line (for a terminal)
74 # T0:23:respawn:/bin/bash -c "/sbin/getty -L ttyS0 -l /usr/bin/zsh-login 9600 vt100 || sleep 30"
75 # T1:23:respawn:/bin/bash -c "/sbin/getty -L ttyS1 -l /usr/bin/zsh-login 9600 vt100 || sleep 30"
76 # T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
77 # T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
78
79 #-- isdnutils begin
80 # Change the lines below for your local setup and uncomment them.
81 # Use "init q" to reread inittab.
82 # look at the vboxgetty / mgetty manpage for more information (mgetty isn't
83 # standard!)
84 #
85 #I0:2345:respawn:/usr/sbin/vboxgetty -d /dev/ttyI0
86 #I1:2345:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&Eyourmsnhere OK AT&B512 OK' -s 38400 ttyI1
87 #-- isdnutils end
88
89 # Run X Window session from CDROM in runlevel 5
90 #w5:5:wait:/bin/sleep 2
91 #x5:5:wait:/etc/init.d/xsession start
92
93 # Use line below to use secvpnmon. Use init q to reread inittab.
94 # SVPN:2345:respawn:/usr/sbin/secvpnmon