Fix autologin

The old autologin method doesn't work anymore with recent login from util-linux.
Utilize agetty -a instead.

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
Thomas Bächler 2012-07-14 16:01:28 +02:00 committed by Gerardo Exequiel Pozzi
parent 3aa07404ad
commit 2cb8fe511c
2 changed files with 1 additions and 3 deletions

View File

@ -24,7 +24,7 @@ rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s -n -l /usr/bin/autologin 38400 tty1 linux
c1:2345:respawn:/sbin/agetty -8 -s -a root 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux

View File

@ -1,2 +0,0 @@
#!/bin/bash
/bin/login -f root