|
|
@ -1,5 +1,7 @@ |
|
|
|
#!/bin/sh |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
# This file is used by xinit and its wrapper startx. |
|
|
|
# This file is used by xinit and its wrapper startx. |
|
|
|
# Display managers like xdm doesn't use this file at all |
|
|
|
# Display managers like xdm doesn't use this file at all |
|
|
|
# |
|
|
|
# |
|
|
@ -20,11 +22,14 @@ fi |
|
|
|
# consequences of removing them. |
|
|
|
# consequences of removing them. |
|
|
|
# run all system xinitrc shell scripts. |
|
|
|
# run all system xinitrc shell scripts. |
|
|
|
if [ -d /etc/X11/Xsession.d ]; then |
|
|
|
if [ -d /etc/X11/Xsession.d ]; then |
|
|
|
for i in /etc/X11/Xsession.d/* ; do |
|
|
|
SESSIONFILES=$(run-parts --list /etc/X11/Xsession.d) |
|
|
|
if [ -x "$i" ]; then |
|
|
|
if [ -n "$SESSIONFILES" ]; then |
|
|
|
. "$i" |
|
|
|
set +e |
|
|
|
fi |
|
|
|
for SESSIONFILE in $SESSIONFILES; do |
|
|
|
done |
|
|
|
. $SESSIONFILE |
|
|
|
|
|
|
|
done |
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# To avoid very solw startup of many GTK apps |
|
|
|
# To avoid very solw startup of many GTK apps |
|
|
|