diff options
Diffstat (limited to 'core/modules/xorg/data/etc/X11/Xsetup')
-rwxr-xr-x | core/modules/xorg/data/etc/X11/Xsetup | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/modules/xorg/data/etc/X11/Xsetup b/core/modules/xorg/data/etc/X11/Xsetup new file mode 100755 index 00000000..b93d7bd6 --- /dev/null +++ b/core/modules/xorg/data/etc/X11/Xsetup @@ -0,0 +1,16 @@ +#!/bin/ash +# +# /etc/X11/Xsetup +# +# Xsetup is executed once before the greeter starts (as root) +# + +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/openslx/sbin:/opt/openslx/bin" + +SESSIONDIR="/etc/X11/Xsetup.d" + +if [ -d "$SESSIONDIR" ]; then + for file in $SESSIONDIR/*; do + . $file || slxlog "xsetup" "Xsetup: Could not source $file" "$file" + done +fi |