aboutsummaryrefslogtreecommitdiff
path: root/core/baselayout/files/profile
diff options
context:
space:
mode:
Diffstat (limited to 'core/baselayout/files/profile')
-rw-r--r--core/baselayout/files/profile16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/baselayout/files/profile b/core/baselayout/files/profile
new file mode 100644
index 00000000..8e5fcd75
--- /dev/null
+++ b/core/baselayout/files/profile
@@ -0,0 +1,16 @@
+# /etc/profile
+#
+# System wide environment and startup programs.
+
+# Set default path (/usr/sbin:/sbin:/bin included for non-KISS Linux chroots).
+export PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
+
+# Set default umask.
+umask 022
+
+# Load profiles from /etc/profile.d
+for file in /etc/profile.d/*.sh; do
+ [ -r "$file" ] && . "$file"
+done
+
+unset file