From f283cb41090bdd1e0d26db7fda506f09f4692088 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 31 Jan 2021 13:48:35 +0100 Subject: [PATCH] rootfs-light: make sure autologin user is configured in lxdm.conf --- platforms/rootfs-light/post.inc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/rootfs-light/post.inc.sh b/platforms/rootfs-light/post.inc.sh index 7b34870..5106f3f 100644 --- a/platforms/rootfs-light/post.inc.sh +++ b/platforms/rootfs-light/post.inc.sh @@ -1,5 +1,6 @@ if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then sed -i "s|# session=.*|session=/usr/bin/startlxqt|" $MOUNTDIR/etc/lxdm/lxdm.conf + sed -i "s|# autologin.*|autologin=liveuser|" $MOUNTDIR/etc/lxdm/lxdm.conf fi # remove some documentation to save space