소스 검색

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

Daniel Martinez 3 달 전
부모
커밋
7a0df40493
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      dracut/vmklive/display-manager-autologin.sh

+ 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.