rootfs-light: make sure autologin user is configured in lxdm.conf
This commit is contained in:
parent
89b8abe399
commit
f283cb4109
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user