summaryrefslogtreecommitdiff
path: root/scripts/live-bottom
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-01 13:41:12 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:09 +0100
commit7111ab7c3b1220384a8f576e170ba3910110ad97 (patch)
tree082e3d69035cd68f9577ebaa5c349b959e7155be /scripts/live-bottom
parentc967ebfc4e43fb16a0c2c140c66900712be95ab7 (diff)
downloadlive-boot-7111ab7c3b1220384a8f576e170ba3910110ad97.tar.gz
live-boot-7111ab7c3b1220384a8f576e170ba3910110ad97.zip
Merging casper 1.217.
Diffstat (limited to 'scripts/live-bottom')
-rwxr-xr-xscripts/live-bottom/15autologin8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin
index a4df2df..12c937d 100755
--- a/scripts/live-bottom/15autologin
+++ b/scripts/live-bottom/15autologin
@@ -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