[ ! -x /usr/bin/id ] || USER=$(id -un)
LOGNAME=$USER
MAIL="/var/mail/$USER"
[ ! -x /bin/hostname ] || HOSTNAME=$(hostname)
HISTSIZE=65536
HISTCONTROL="ignoreboth:erasedups"
HISTIGNORE="&:[bf]g:exit"
PATH=/usr/local/bin:/usr/bin
INPUTRC=/etc/inputrc
[ ! -x /usr/bin/dircolors ] || eval $(dircolors -b /etc/dircolors)
EDITOR=vi
export USER LOGNAME MAIL HOSTNAME HISTCONTROL HISTIGNORE HISTSIZE LS_COLORS INPUTRC EDITOR PATH
umask 022

for script in /etc/profile.d/*.sh ; do
	[ -e $script ] && . $script
done
