[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/etc/profile.d/



Hello,

I was looking at /etc/profile.d/ and was not sure how it was to function.

As per LSB 4.0, every script present in /etc/profile.d/ is executed.


I am thinking of a way to have a system wide shell variable that can be
used and updated by
further newer shell processes.

Like, if I do an `export FOO="bar"` in /etc/profile.d/foo.sh, is it okay
to assume that $FOO will be available
throughout the OS as a system variable ?
Currently, on sid, it does not seem to be executed.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: