/etc/profile: read in /etc/profile.d/*.sh files
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Wed, 19 Oct 2011 07:36:02 +0000 (09:36 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 28 Oct 2011 12:59:27 +0000 (14:59 +0200)
commit2c8502e8211d6153830929110611ce18956ae42c
treea93ca57160e106c6e4e72214d21849cc33d197b5
parenteb8f0522f89c3f679fe73d1acff673110fe38107
/etc/profile: read in /etc/profile.d/*.sh files

For custom projects, it is more maintainable to add custom profile settings
in a separate file, than directly in /etc/profile.

This patch modifies /etc/profile to read in *.sh files from /etc/profile.d/,
a technique commonly used in Linux distributions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
fs/skeleton/etc/profile