Consider scripts in /etc/X11/xinit/XClients.d as well
This commit is contained in:
parent
7fe654eb9e
commit
b8c9868779
6
Xclients
6
Xclients
@ -37,6 +37,12 @@ elif [ -n "$STARTKDE" ]; then
|
||||
exec "$STARTKDE"
|
||||
fi
|
||||
|
||||
# We should also support /etc/X11/xinit/Xclients.d scripts
|
||||
XCLIENTS_D=/etc/X11/xinit/Xclients.d
|
||||
if [ -d "$XCLIENTS_D" -a "$#" -eq 1 -a -x "$XCLIENTS_D/Xclients.$1.sh" ]; then
|
||||
exec -l $SHELL -c "$SSH_AGENT $XCLIENTS_D/Xclients.$1.sh"
|
||||
fi
|
||||
|
||||
# Failsafe.
|
||||
|
||||
# these files are left sitting around by TheNextLevel.
|
||||
|
Loading…
Reference in New Issue
Block a user