summaryrefslogtreecommitdiffstats
path: root/remote/modules/xorg/data
diff options
context:
space:
mode:
authorJonathan Bauer2013-12-04 15:37:11 +0100
committerJonathan Bauer2013-12-04 15:37:11 +0100
commit6cdb87e434c71f7c11338da77c416aa704460c9f (patch)
tree5efcf2719f7468cebba05ea0484586c754099196 /remote/modules/xorg/data
parent[rootfs-stage31] remove broken unlink command (diff)
parentMerge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff)
downloadtm-scripts-6cdb87e434c71f7c11338da77c416aa704460c9f.tar.gz
tm-scripts-6cdb87e434c71f7c11338da77c416aa704460c9f.tar.xz
tm-scripts-6cdb87e434c71f7c11338da77c416aa704460c9f.zip
Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts
Diffstat (limited to 'remote/modules/xorg/data')
-rwxr-xr-x[-rw-r--r--]remote/modules/xorg/data/etc/X11/Xsession8
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/xorg/data/etc/X11/Xsession b/remote/modules/xorg/data/etc/X11/Xsession
index 15867190..dc64cf77 100644..100755
--- a/remote/modules/xorg/data/etc/X11/Xsession
+++ b/remote/modules/xorg/data/etc/X11/Xsession
@@ -2,6 +2,14 @@
#Workaround to start Xsession. The original Xsession script includes error handling functionality and sources other scrips from the Xsession.d/ directory.
+SESSIONDIR="/etc/X11/Xsession.d"
+
+if [ -d "$SESSIONDIR" ]; then
+ for file in $SESSIONDIR/*; do
+ . $file || slxlog "xsession" "Xsession: Could not source $file" "$file"
+ done
+fi
+
#start selected session
case "$1" in
failsafe)