From: Michael Prokop Date: Mon, 6 Nov 2006 22:21:52 +0000 (+0100) Subject: /etc/inittab.small: activate only two consoles by default and X-Git-Tag: 0.8-33 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=217101aa13d217f7b30fe8064dfdd6e8e88ae51c;p=grml-etc.git /etc/inittab.small: activate only two consoles by default and some others via rungetty's --prompt option. Thanks for the idea, Michael Schierl! --- diff --git a/debian/changelog b/debian/changelog index 626752f..9cddb32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +grml-etc (0.8-33) unstable; urgency=low + + * /etc/inittab.small: activate only two consoles by default and + some others via rungetty's --prompt option. Thanks for the + idea, Michael Schierl! + + -- Michael Prokop Mon, 6 Nov 2006 23:20:41 +0100 + grml-etc (0.8-32) unstable; urgency=low * /etc/samba.conf: deactivate 'printer admin' and 'passdb ...' diff --git a/etc/inittab.small b/etc/inittab.small index 3afe726..cb22ee8 100644 --- a/etc/inittab.small +++ b/etc/inittab.small @@ -52,8 +52,18 @@ po::powerokwait:/etc/init.d/powerfail stop # ::: 1:12345:respawn:/sbin/rungetty tty1 -u root -g root --autologin root /usr/bin/grml-init 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 +3:2345:respawn:/sbin/rungetty --prompt tty3 -u grml -g grml --autologin grml /usr/bin/grml-init +4:2345:respawn:/sbin/rungetty --prompt tty4 -u grml -g grml --autologin grml /usr/bin/grml-init +5:2345:respawn:/sbin/rungetty --prompt tty5 -u grml -g grml --autologin grml /usr/bin/grml-init +6:2345:respawn:/sbin/rungetty --prompt 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/tty11 2>&1 /dev/tty12 2>&1 /dev/tty12 2>&1