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