2019-06-18 04:43:54 -06:00
|
|
|
# /etc/profile
|
2019-06-18 06:06:58 -06:00
|
|
|
#
|
2019-06-18 04:43:54 -06:00
|
|
|
# System wide environment and startup programs.
|
|
|
|
|
2019-06-18 06:06:58 -06:00
|
|
|
# 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
|
2019-06-18 04:43:54 -06:00
|
|
|
|
2019-06-18 06:06:58 -06:00
|
|
|
# Set default umask.
|
2019-06-18 04:43:54 -06:00
|
|
|
umask 022
|
|
|
|
|
|
|
|
# Load profiles from /etc/profile.d
|
2019-06-18 06:06:58 -06:00
|
|
|
for file in /etc/profile.d/*.sh; do
|
|
|
|
[ -r "$file" ] && . "$file"
|
|
|
|
done
|
|
|
|
|
|
|
|
unset file
|