From 2cb8fe511cc302154537ae4a819f558a72081dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A4chler?= Date: Sat, 14 Jul 2012 16:01:28 +0200 Subject: 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 Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/etc/inittab | 2 +- configs/releng/root-image/usr/bin/autologin | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100755 configs/releng/root-image/usr/bin/autologin 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 -- cgit v1.2.2