summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/skeleton/etc/profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/skeleton/etc/profile b/fs/skeleton/etc/profile
index cc2e0beb8..31d3180c0 100644
--- a/fs/skeleton/etc/profile
+++ b/fs/skeleton/etc/profile
@@ -46,3 +46,10 @@ if [ "$PS1" ]; then
alias calc='calc -Cd '
alias bc='calc -Cd '
fi;
+
+# Source configuration files from /etc/profile.d
+for i in /etc/profile.d/*.sh ; do
+ if [ -r "$i" ]; then
+ . $i
+ fi
+done