Commit 6599ed15 authored by udeved's avatar udeved
Browse files

[util-livecd] don't use lightdm autologin timeout

parent f336815a
......@@ -319,7 +319,7 @@ configure_alsa_live(){
configure_displaymanager_live(){
if [[ -f /usr/bin/lightdm ]];then
gpasswd -a ${username} autologin &> /dev/null
sed -i -e 's/^.*autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
# sed -i -e 's/^.*autologin-user-timeout=.*/autologin-user-timeout=0/' /etc/lightdm/lightdm.conf
sed -i -e "s/^.*autologin-user=.*/autologin-user=${username}/" /etc/lightdm/lightdm.conf
elif [[ -f /usr/bin/kdm ]];then
sed -i -e "s/^.*AutoLoginUser=.*/AutoLoginUser=${username}/" /usr/share/config/kdm/kdmrc
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment