summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/root/customize_root_image.sh
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-05-26 18:56:25 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-05-26 19:09:55 -0300
commit718089f7cb499d2a9935de71dcbc8b3e53c6fb2a (patch)
treeda5ae2c86269d98ac58414ec89c3d412515b3eb8 /configs/releng/root-image/root/customize_root_image.sh
parent8fd197a420558a6b9b55f2e61a7cc2008a0200e6 (diff)
downloadarchiso32-718089f7cb499d2a9935de71dcbc8b3e53c6fb2a.tar.xz
[configs/releng] Use drop-in feature of systemd for getty autologin
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs/releng/root-image/root/customize_root_image.sh')
-rwxr-xr-xconfigs/releng/root-image/root/customize_root_image.sh7
1 files changed, 1 insertions, 6 deletions
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