Adding upstream version 1.236.1.
[live-boot-grml.git] / scripts / live-bottom / 15autologin
index a4df2df..12c937d 100755 (executable)
@@ -103,4 +103,12 @@ then
        /root/etc/kde4/kdm/kdmrc
 fi
 
+if [ -f /root/etc/lxdm/lxdm.conf ]
+then
+       # Configure LXDM autologin
+       sed -i -r -e "s/^# autologin=dgod/autologin=$USERNAME/" \
+                 -e "s/^# session/session/" \
+       /root/etc/lxdm/lxdm.conf
+fi
+
 log_end_msg