Explorar o código

dracut/display-manager-autologin: start xfce4 if startxfce4 exists.

Juan RP %!s(int64=10) %!d(string=hai) anos
pai
achega
ef1c3e6766
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      dracut/display-manager-autologin.sh

+ 2 - 0
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