aboutsummaryrefslogtreecommitdiff
path: root/core/baselayout/files/profile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /core/baselayout/files/profile
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
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