Prechádzať zdrojové kódy

dracut/vmklive/display-manager-autologin.sh: set lightdm user-session

Daniel Martinez 3 mesiacov pred
rodič
commit
7a0df40493

+ 2 - 0
dracut/vmklive/display-manager-autologin.sh

@@ -38,6 +38,8 @@ if [ -r "${NEWROOT}/etc/lightdm/lightdm.conf" ]; then
         "${NEWROOT}/etc/lightdm/lightdm.conf"
     sed -i -e "s|^\#\(autologin-session=\).*|\1$(cat "${NEWROOT}/etc/lightdm/.session")|" \
         "${NEWROOT}/etc/lightdm/lightdm.conf"
+    sed -i -e "s|^\#\(user-session=\).*|\1$(cat "${NEWROOT}/etc/lightdm/.session")|" \
+        "${NEWROOT}/etc/lightdm/lightdm.conf"
 fi
 
 # Configure lxdm autologin.