startwm.sh: Additionally support /usr/etc/X11/xdm/Xsession in SUSE

distributions

https://lists.opensuse.org/opensuse-factory/2019-08/msg00113.html
This commit is contained in:
Yifan J 2020-10-19 09:35:03 +08:00
parent 19504da100
commit 31a910a275
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