summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2012-07-14 16:01:28 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-07-16 22:59:45 -0300
commit2cb8fe511cc302154537ae4a819f558a72081dc0 (patch)
tree74393db966d4207e19134f1140e5fe56046d9340 /configs
parent3aa07404ad72fe0e0dc9b86fbce2096737ed1436 (diff)
downloadarchiso32-2cb8fe511cc302154537ae4a819f558a72081dc0.tar.xz
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/releng/root-image/etc/inittab2
-rwxr-xr-xconfigs/releng/root-image/usr/bin/autologin2
2 files changed, 1 insertions, 3 deletions
diff --git a/configs/releng/root-image/etc/inittab b/configs/releng/root-image/etc/inittab
index 2bbc494..e3fe2c8 100644
--- a/configs/releng/root-image/etc/inittab
+++ b/configs/releng/root-image/etc/inittab
@@ -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
diff --git a/configs/releng/root-image/usr/bin/autologin b/configs/releng/root-image/usr/bin/autologin
deleted file mode 100755
index c124f9e..0000000
--- a/configs/releng/root-image/usr/bin/autologin
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/bin/bash
-/bin/login -f root