rootfs-light: make sure autologin user is configured in lxdm.conf

This commit is contained in:
Silvan Calarco 2021-01-31 13:48:35 +01:00
parent 89b8abe399
commit f283cb4109

View File

@ -1,5 +1,6 @@
if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then if [ -e $MOUNTDIR/etc/lxdm/lxdm.conf ]; then
sed -i "s|# session=.*|session=/usr/bin/startlxqt|" $MOUNTDIR/etc/lxdm/lxdm.conf 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 fi
# remove some documentation to save space # remove some documentation to save space