Explorar o código

dracut/display-manager-autologin: autostart mate via lxdm if mate-session exists.

Juan RP %!s(int64=10) %!d(string=hai) anos
pai
achega
ee37a611e9
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

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