Merge pull request #1702 from yifanjiang/devel

startwm.sh: Additionally support /usr/etc/X11/xdm/Xsession
This commit is contained in:
metalefty 2020-10-19 14:33:53 +09:00 committed by GitHub
commit 176b4b15a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -85,6 +85,9 @@ wm_start()
# do not execute the pseudo login shell scripts
. /etc/X11/xdm/Xsession
exit 0
elif [ -r /usr/etc/X11/xdm/Xsession ]; then
. /usr/etc/X11/xdm/Xsession
exit 0
fi
pre_start