Skip to content

Commit fe37516

Browse files
committed
[update] : Added disabling auto login to final-process
1 parent 564ba86 commit fe37516

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

channels/share/airootfs.any/usr/share/calamares/final-process

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ remove /etc/systemd/system/alteriso-reflector.service
5454
if [[ -f "/etc/lightdm/lightdm.conf" ]]; then
5555
sed -i "s/^autologin/#autologin/g" "/etc/lightdm/lightdm.conf"
5656
fi
57+
if [[ -f "/etc/lightdm/lightdm.conf.d/02-autologin.conf" ]]; then
58+
sed -i "s|%USERNAME%|${username}|g" "/etc/lightdm/lightdm.conf.d/02-autologin.conf"
59+
fi
5760

5861
# Disabled auto login for GDM
5962
if [[ -f "/etc/gdm/custom.conf" ]]; then

0 commit comments

Comments
 (0)