dracut/display-manager-autologin: autologin to i3 if found.

This commit is contained in:
Juan RP 2015-05-25 09:22:27 +02:00
parent af2fcf925a
commit b1e2685aef

View File

@ -46,5 +46,7 @@ if [ -r ${NEWROOT}/etc/lxdm/lxdm.conf ]; then
sed -e "s,.*session.*=.*,session=/usr/bin/mate-session," -i ${NEWROOT}/etc/lxdm/lxdm.conf
elif [ -x ${NEWROOT}/usr/bin/cinnamon-session ]; 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
fi
fi