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