From ef1c3e67661a055704baa413f515aaeb5e8beea2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 3 Dec 2014 09:15:43 +0100 Subject: [PATCH] dracut/display-manager-autologin: start xfce4 if startxfce4 exists. --- dracut/display-manager-autologin.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dracut/display-manager-autologin.sh b/dracut/display-manager-autologin.sh index c667e21..9fc99fd 100644 --- a/dracut/display-manager-autologin.sh +++ b/dracut/display-manager-autologin.sh @@ -34,5 +34,7 @@ if [ -r ${NEWROOT}/etc/lxdm/lxdm.conf ]; then sed -e "s,.*autologin.*=.*,autologin=$USERNAME," -i ${NEWROOT}/etc/lxdm/lxdm.conf if [ -x ${NEWROOT}/usr/bin/enlightenment_start ]; then sed -e "s,.*session.*=.*,session=/usr/bin/enlightenment_start," -i ${NEWROOT}/etc/lxdm/lxdm.conf + elif [ -x ${NEWROOT}/usr/bin/startxfce4 ]; then + sed -e "s,.*session.*=.*,session=/usr/bin/startxfce4," -i ${NEWROOT}/etc/lxdm/lxdm.conf fi fi