summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'etc/profile')
-rw-r--r--etc/profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/profile b/etc/profile
index 835b0ab..f347430 100644
--- a/etc/profile
+++ b/etc/profile
@@ -56,3 +56,10 @@ else
# understand sequences such as \h, don't put anything special in it.
PS1="`whoami`@`uname -n | cut -f1 -d.` \$ "
fi
+
+for sh in /etc/profile.d/*.sh ; do
+ if [ -r "$sh" ] ; then
+ . "$sh"
+ fi
+done
+unset sh