summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg/data/etc/X11/Xsetup
blob: b93d7bd675f1700dba419d87c9ff0f067b8e20bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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