Remove mgetty support.
[grml-etc.git] / etc / inittab.small
index b04d9fb..611a316 100644 (file)
@@ -3,7 +3,6 @@
 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
 # Bug-Reports:   see http://grml.org/bugs/
 # License:       This file is licensed under the GPL v2.
-# Latest change: Son Apr 15 13:10:36 CEST 2007 [mika]
 ################################################################################
 
 # The default runlevel.
@@ -50,46 +49,33 @@ po::powerokwait:/etc/init.d/powerfail stop
 #
 # Format:
 #  <id>:<runlevels>:<action>:<process>
+# 4 virtual consoles with immortal shells
+# Note that on most Debian systems tty7 is used by the X Window System.
+# Use tty8 a second xserver.
 1:12345:respawn:/sbin/rungetty tty1 --noclear -u root -g root --autologin root /usr/bin/zsh-login
 2:2345:respawn:/sbin/rungetty tty2 -u grml -g grml --autologin grml /usr/bin/grml-init
 3:2345:respawn:/sbin/rungetty tty3 -u grml -g grml --autologin grml /usr/bin/grml-init
-# 4:2345:respawn:/sbin/rungetty tty4 -u grml -g grml --autologin grml /usr/bin/grml-init
-# 5:2345:respawn:/sbin/rungetty tty5 -u grml -g grml --autologin grml /usr/bin/grml-init
-# 6:2345:respawn:/sbin/rungetty tty6 -u grml -g grml --autologin grml /usr/bin/grml-init
-# Note that on most Debian systems tty7 is used by the X Window System.
-# Use tty8 for a second xserver.
-# 9:2345:respawn:/sbin/getty  38400 tty9
-# 10:2345:respawn:/bin/zsh --login -c "/usr/sbin/grml-iptstate ; /usr/bin/grml-init-screen" >/dev/tty10 2>&1 </dev/tty10
-# 11:2345:respawn:/bin/zsh --login -c "/usr/bin/htop ; /usr/bin/grml-init-screen" >/dev/tty11 2>&1 </dev/tty11
-# running console-log on 12 already
-# 12:2345:respawn:/bin/zsh --login -c "/usr/bin/less +F /var/log/syslog ; /usr/bin/grml-screen" >/dev/tty12 2>&1 </dev/tty12
-# 12:2345:respawn:/bin/zsh --login -c "/usr/bin/multitail /var/log/syslog ; /usr/bin/grml-init-screen" >/dev/tty12 2>&1 </dev/tty12
-
-# Restart init with new configuration?
-# kill -1 1
+#4:2345:respawn:/sbin/rungetty tty4 -u grml -g grml --autologin grml /usr/bin/grml-init
+#5:2345:respawn:/sbin/rungetty tty5 -u grml -g grml --autologin grml /usr/bin/grml-init
+#6:2345:respawn:/sbin/rungetty tty6 -u grml -g grml --autologin grml /usr/bin/grml-init
+#9:2345:respawn:/sbin/getty  38400 tty9
+#10:2345:respawn:/bin/zsh --login -c "/usr/sbin/grml-iptstate ; /usr/bin/grml-init-screen" >/dev/tty10 2>&1 </dev/tty10
+#11:2345:respawn:/bin/zsh --login -c "/usr/bin/htop ; /usr/bin/grml-init-screen" >/dev/tty11 2>&1 </dev/tty11
+#12:2345:respawn:/bin/zsh --login -c "/usr/bin/grml-init-multitail ; /usr/bin/grml-init-screen" >/dev/tty12 2>&1 </dev/tty12
 
-# Run gettys in standard runlevels
-#1:2345:respawn:/sbin/mingetty tty1
-#2:2345:respawn:/sbin/mingetty tty2
-#3:2345:respawn:/sbin/mingetty tty3
-#4:2345:respawn:/sbin/mingetty tty4
-#5:2345:respawn:/sbin/mingetty tty5
-#6:2345:respawn:/sbin/mingetty tty6
+################################################################################
+# Please do NOT remove the line with the marker as it is important for the
+# bootoption serial/console. line(s) will be inserted here according to the
+# provided kernel command line:
+#grmlserial# is a marker, important for the bootoption serial/console
+################################################################################
 
 # Example how to put a getty on a serial line (for a terminal)
-#
+# T0:23:respawn:/bin/bash -c "/sbin/getty -L ttyS0 -l /usr/bin/zsh-login 9600 vt100 || sleep 30"
+# T1:23:respawn:/bin/bash -c "/sbin/getty -L ttyS1 -l /usr/bin/zsh-login 9600 vt100 || sleep 30"
 # T0:23:respawn:/sbin/getty -L ttyS0 9600 vt100
 # T1:23:respawn:/sbin/getty -L ttyS1 9600 vt100
 
-# Important! Please do not remove the following 2 lines as the are important for cheatcode serial:
-#T0:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS0 || sleep 30"
-#T1:2345:respawn:/bin/bash -c "/sbin/mgetty ttyS1 || sleep 30"
-# Important! #####################################################################################
-
-# Example how to put a getty on a modem line.
-#
-#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
-
 #-- isdnutils begin
 # Change the lines below for your local setup and uncomment them.
 # Use "init q" to reread inittab.
@@ -99,8 +85,10 @@ po::powerokwait:/etc/init.d/powerfail stop
 #I0:2345:respawn:/usr/sbin/vboxgetty -d /dev/ttyI0
 #I1:2345:respawn:/sbin/mgetty -D -m '"" ATZ OK AT&Eyourmsnhere OK AT&B512 OK' -s 38400 ttyI1
 #-- isdnutils end
+
 # Run X Window session from CDROM in runlevel 5
 #w5:5:wait:/bin/sleep 2
 #x5:5:wait:/etc/init.d/xsession start
+
 # Use line below to use secvpnmon. Use init q to reread inittab.
 # SVPN:2345:respawn:/usr/sbin/secvpnmon