diff --git a/mambawelcome/mambawelcome.sh b/mambawelcome/mambawelcome.sh index 3b867f8..4a9d2b9 100755 --- a/mambawelcome/mambawelcome.sh +++ b/mambawelcome/mambawelcome.sh @@ -101,7 +101,7 @@ echo $"Configuring users and host" | tee -a $LOG_FILE [ -e /opt/kde/share/config/kdm/kdmrc ] && sed -i "s|AutoLoginEnable=.*|AutoLoginEnable=false|" \ /opt/kde/share/config/kdm/kdmrc - [ -e /etc/lxdm/lxdm.conf ] && { + [ -e /etc/lxdm/lxdm.conf ] && sed -i "s|[#[:space:]]*\(autologin.*\)|#\1|" \ /etc/lxdm/lxdm.conf [ -e /etc/gdm/custom.conf ] &&