Lines 168-174
Link Here
|
168 |
# Source shell scripts from system /etc/X11/profile.d/ |
168 |
# Source shell scripts from system /etc/X11/profile.d/ |
169 |
for f in /etc/X11/profile.d/*.sh; do |
169 |
for f in /etc/X11/profile.d/*.sh; do |
170 |
# Don't run *.rpm* and *~ scripts |
170 |
# Don't run *.rpm* and *~ scripts |
171 |
[ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue |
171 |
[ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue |
172 |
|
172 |
|
173 |
SourceIfNotEmpty "$f" "$@" |
173 |
SourceIfNotEmpty "$f" "$@" |
174 |
done |
174 |
done |
Lines 179-185
Link Here
|
179 |
# Run system scripts from /etc/X11/xinit.d/ |
179 |
# Run system scripts from /etc/X11/xinit.d/ |
180 |
for f in /etc/X11/xinit.d/*; do |
180 |
for f in /etc/X11/xinit.d/*; do |
181 |
# Don't run *.rpm* and *~ scripts |
181 |
# Don't run *.rpm* and *~ scripts |
182 |
[ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue |
182 |
[ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue |
183 |
|
183 |
|
184 |
if [ -x "$f" ]; then |
184 |
if [ -x "$f" ]; then |
185 |
"$f" & |
185 |
"$f" & |
Lines 189-195
Link Here
|
189 |
# Run user scripts from ~/.xsession.d/ |
189 |
# Run user scripts from ~/.xsession.d/ |
190 |
for f in "$HOME"/.xsession.d/*; do |
190 |
for f in "$HOME"/.xsession.d/*; do |
191 |
# Don't run *.rpm* and *~ scripts |
191 |
# Don't run *.rpm* and *~ scripts |
192 |
[ "${f%.rpm*}" == "$f" -a "${f%\~}" == "$f" ] || continue |
192 |
[ "${f%.rpm*}" = "$f" -a "${f%\~}" = "$f" ] || continue |
193 |
|
193 |
|
194 |
if [ -x "$f" ]; then |
194 |
if [ -x "$f" ]; then |
195 |
"$f" & |
195 |
"$f" & |