diff options
| author | Simon Rettberg | 2013-12-02 18:56:57 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2013-12-02 18:56:57 +0100 |
| commit | 9b422d52541dcf9dc34b3c971679e343c549118d (patch) | |
| tree | ca7e7965e095e7aac0fb19a40a1c7bc37636d6eb /remote/modules/xorg/data | |
| parent | - (diff) | |
| download | tm-scripts-9b422d52541dcf9dc34b3c971679e343c549118d.tar.gz tm-scripts-9b422d52541dcf9dc34b3c971679e343c549118d.tar.xz tm-scripts-9b422d52541dcf9dc34b3c971679e343c549118d.zip | |
[xorg] Support /etc/X11/Xsession.d
Diffstat (limited to 'remote/modules/xorg/data')
| -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) |
