Mailinglist Archive: opensuse-bugs (5061 mails)

< Previous Next >
[Bug 750980] scripts from /etc/X11/xinit/xinitrc.d/ are executed and not sourced

https://bugzilla.novell.com/show_bug.cgi?id=750980

https://bugzilla.novell.com/show_bug.cgi?id=750980#c5


Dr. Werner Fink <werner@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|werner@xxxxxxxx |

--- Comment #5 from Dr. Werner Fink <werner@xxxxxxxx> 2012-03-08 07:52:51 UTC
---
Currently the files below

/etc/X11/xinit/xinitrc.d/

are scripts which should be executed. And indeed for environment variables
not done below /etc/profile.d/ we may consider a directory

/etc/X11/xinit/profile.d/

for files which should be sourced in /etc/X11/xinit/xinitrc with

for s in /etc/profile.d/*.sh ; do
test -r $s -a ! -k $s && . $s
done
unset s

(the trick with the sticky bit is for the admin which allows to disable
a file without removing it).

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References