dracut/display-manager-autologin: autologin to lxde if found via lxdm.

This commit is contained in:
Juan RP 2015-05-29 17:00:50 +02:00
parent 9068070c6f
commit c4ca2a33fa

View File

@ -48,5 +48,7 @@ if [ -r ${NEWROOT}/etc/lxdm/lxdm.conf ]; then
sed -e "s,.*session.*=.*,session=/usr/bin/cinnamon-session," -i ${NEWROOT}/etc/lxdm/lxdm.conf
elif [ -x ${NEWROOT}/usr/bin/i3 ]; then
sed -e "s,.*session.*=.*,session=/usr/bin/i3," -i ${NEWROOT}/etc/lxdm/lxdm.conf
elif [ -x ${NEWROOT}/usr/bin/startlxde ]; then
sed -e "s,.*session.*=.*,session=/usr/bin/startlxde," -i ${NEWROOT}/etc/lxdm/lxdm.conf
fi
fi