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 # Latest change: Sam Jun 25 00:48:55 CEST 2005 [mika]
7 ################################################################################
9 # The default runlevel.
12 # Boot-time system configuration/initialization script.
13 # This is run first except when booting in emergency (-b) mode.
14 si::sysinit:/etc/init.d/rcS
16 # What to do in single-user mode.
17 ~~:S:respawn:/bin/zsh --login >/dev/tty1 2>&1 </dev/tty1
19 # /etc/init.d executes the S and K scripts upon change
23 # Runlevel 1 is single-user.
24 # Runlevels 2-5 are multi-user.
25 # Runlevel 6 is reboot.
27 l0:0:wait:/etc/init.d/grml-halt
28 l1:1:wait:/etc/init.d/rc 1
29 l2:2:wait:/etc/init.d/rc 2
30 l3:3:wait:/etc/init.d/rc 3
31 l4:4:wait:/etc/init.d/rc 4
32 l5:5:wait:/etc/init.d/rc 5
33 l6:6:wait:/etc/init.d/grml-reboot
35 # What to do when CTRL-ALT-DEL is pressed.
36 ca::ctrlaltdel:/etc/init 0
38 # Action on special keypress (ALT-UpArrow).
39 kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."
41 # What to do when the power fails/returns.
42 pf::powerwait:/etc/init.d/powerfail start
43 pn::powerfailnow:/etc/init.d/powerfail now
44 po::powerokwait:/etc/init.d/powerfail stop
46 # /sbin/getty invocations for the runlevels.
48 # The "id" field MUST be the same as the last
49 # characters of the device (after "tty").
52 # <id>:<runlevels>:<action>:<process>
53 1:12345:respawn:/sbin/rungetty tty1 -u root -g root --autologin root /usr/bin/grml-init
54 2:2345:respawn:/sbin/rungetty tty2 -u grml -g grml --autologin grml /usr/bin/grml-init
55 3:2345:respawn:/sbin/rungetty tty3 -u grml -g grml --autologin grml /usr/bin/grml-init
56 # Note that on most Debian systems tty7 is used by the X Window System.
58 # Restart init with new configuration?
61 # Run gettys in standard runlevels
62 #1:2345:respawn:/sbin/mingetty tty1
63 #2:2345:respawn:/sbin/mingetty tty2
64 #3:2345:respawn:/sbin/mingetty tty3
65 #4:2345:respawn:/sbin/mingetty tty4
66 #5:2345:respawn:/sbin/mingetty tty5
67 #6:2345:respawn:/sbin/mingetty tty6
69 # Example how to put a getty on a serial line (for a terminal)
71 # T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
72 # T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
73 #T0:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS0 || sleep 30"
74 #T1:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS1 || sleep 30"
76 # Example how to put a getty on a modem line.
78 #T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
81 # Change the lines below for your local setup and uncomment them.
82 # Use "init q" to reread inittab.
83 # look at the vboxgetty / mgetty manpage for more information (mgetty isn't
86 #I0:2345:respawn:/usr/sbin/vboxgetty -d /dev/ttyI0
87 #I1:2345:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&Eyourmsnhere OK AT&B512 OK' -s 38400 ttyI1
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