From: Michael Tremer Date: Mon, 15 Sep 2008 12:08:51 +0000 (+0000) Subject: Added a new autologin tool and removed the ascii init string from agetty command... X-Git-Tag: v3.0-alpha1~689 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=050fb83ea500f9a409b0dfdc7229a280dd2ce818;p=ipfire-3.x.git Added a new autologin tool and removed the ascii init string from agetty command line. --- diff --git a/config/etc/inittab b/config/etc/inittab index 62afaba61..1cc923820 100644 --- a/config/etc/inittab +++ b/config/etc/inittab @@ -19,12 +19,12 @@ ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now su:S016:once:/sbin/sulogin -1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600 -2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 -3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600 -4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600 -5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600 -6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 -#7:2345:respawn:/sbin/agetty -I '\033(K' ttyS0 9600 vt100 +1:2345:respawn:/sbin/agetty tty1 9600 +2:2345:respawn:/sbin/agetty tty2 9600 +3:2345:respawn:/sbin/agetty tty3 9600 +4:2345:respawn:/sbin/agetty tty4 9600 +5:2345:respawn:/sbin/agetty tty5 9600 +6:2345:respawn:/sbin/agetty tty6 9600 +#7:2345:respawn:/sbin/agetty ttyS0 9600 vt100 # End /etc/inittab diff --git a/src/install/etc/inittab b/src/install/etc/inittab index 50eaa0391..2e9c47137 100644 --- a/src/install/etc/inittab +++ b/src/install/etc/inittab @@ -19,12 +19,12 @@ ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now su:S016:once:/sbin/sulogin -1:2345:respawn:/sbin/mingetty --autologin root tty1 -2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600 -3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600 -4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600 -5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600 -6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600 -#7:2345:respawn:/sbin/agetty -I '\033(K' ttyS0 9600 vt100 +1:2345:respawn:/sbin/agetty -n -l /root/autologin tty1 9600 +2:2345:respawn:/sbin/agetty -n -l /root/autologin tty2 9600 +3:2345:respawn:/sbin/agetty tty3 9600 +4:2345:respawn:/sbin/agetty tty4 9600 +5:2345:respawn:/sbin/agetty tty5 9600 +6:2345:respawn:/sbin/agetty tty6 9600 +#7:2345:respawn:/sbin/agetty ttyS0 9600 vt100 # End /etc/inittab diff --git a/src/install/root/autologin b/src/install/root/autologin new file mode 100755 index 000000000..c8e425186 --- /dev/null +++ b/src/install/root/autologin @@ -0,0 +1,4 @@ +#!/bin/bash + +echo "Logging in \"root\"" +exec /bin/login -f root