Update tabs/utils/auto-login.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
Guru Swarupa 2024-09-18 22:04:30 +05:30 committed by GitHub
parent 8fdb105078
commit 6646c4d81c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ configure_lightdm() {
echo "Configuring LightDM for autologin..."
echo "Enter username for LightDM autologin: "
read user
read -r user
$ESCALATION_TOOL "echo '[Seat:*]' > /etc/lightdm/lightdm.conf.d/50-autologin.conf"
$ESCALATION_TOOL "echo 'autologin-user=$user' >> /etc/lightdm/lightdm.conf.d/50-autologin.conf"