diff options
| author | Jonathan Bauer | 2013-12-04 15:37:11 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-12-04 15:37:11 +0100 |
| commit | 6cdb87e434c71f7c11338da77c416aa704460c9f (patch) | |
| tree | 5efcf2719f7468cebba05ea0484586c754099196 /remote/modules/xorg | |
| parent | [rootfs-stage31] remove broken unlink command (diff) | |
| parent | Merge branch 'master' of git.openslx.org:openslx-ng/tm-scripts (diff) | |
| download | tm-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')
| -rwxr-xr-x[-rw-r--r--] | remote/modules/xorg/data/etc/X11/Xsession | 8 |
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) |
