summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigs/gnome/root-image/root/customize_root_image.sh9
1 files changed, 1 insertions, 8 deletions
diff --git a/configs/gnome/root-image/root/customize_root_image.sh b/configs/gnome/root-image/root/customize_root_image.sh
index f6c4b14..37bd015 100755
--- a/configs/gnome/root-image/root/customize_root_image.sh
+++ b/configs/gnome/root-image/root/customize_root_image.sh
@@ -17,11 +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
-
-# Remember to not to include multi-user.target, because it stops gdm.service from starting at boot.
-systemctl enable pacman-init.service autologin@.service NetworkManager.service gdm.service
+systemctl enable pacman-init.service NetworkManager.service gdm.service