From 718089f7cb499d2a9935de71dcbc8b3e53c6fb2a Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sun, 26 May 2013 18:56:25 -0300 Subject: [configs/releng] Use drop-in feature of systemd for getty autologin Signed-off-by: Gerardo Exequiel Pozzi --- configs/releng/root-image/root/customize_root_image.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'configs/releng/root-image/root') diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh index cc47845..ba106c8 100755 --- a/configs/releng/root-image/root/customize_root_image.sh +++ b/configs/releng/root-image/root/customize_root_image.sh @@ -17,9 +17,4 @@ chmod 440 /etc/sudoers.d/g_wheel sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist -sed 's#\(^ExecStart=-/sbin/agetty\)#\1 --autologin root#; - s#\(^Alias=getty.target.wants/\).\+#\1autologin@tty1.service#' \ - /usr/lib/systemd/system/getty@.service > /etc/systemd/system/autologin@.service - -systemctl disable getty@tty1.service -systemctl enable multi-user.target pacman-init.service autologin@.service dhcpcd.service +systemctl enable multi-user.target pacman-init.service dhcpcd.service -- cgit v1.2.3-54-g00ecf