2009-03-27 11:34:11 +00:00
|
|
|
# /etc/profile
|
|
|
|
|
2012-12-05 00:27:47 +00:00
|
|
|
# System wide environment and startup programs.
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2012-05-03 08:19:31 +00:00
|
|
|
#Set our umask
|
|
|
|
umask 022
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2012-05-03 08:19:31 +00:00
|
|
|
# Set our default path
|
2012-07-11 20:28:20 +00:00
|
|
|
PATH="/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/bin:/sbin"
|
2012-05-03 08:19:31 +00:00
|
|
|
export PATH
|
2009-03-27 11:34:11 +00:00
|
|
|
|
2012-05-03 08:19:31 +00:00
|
|
|
# Load profiles from /etc/profile.d
|
|
|
|
if [ -d /etc/profile.d/ ]; then
|
|
|
|
for f in /etc/profile.d/*.sh; do
|
2012-05-03 08:20:59 +00:00
|
|
|
[ -r "$f" ] && . "$f"
|
2012-05-03 08:19:31 +00:00
|
|
|
done
|
|
|
|
unset f
|
2009-03-27 11:34:11 +00:00
|
|
|
fi
|