# $Owl: Owl/packages/bash/profile,v 1.5 2005/11/16 13:21:54 solar Exp $

# It is recommended that this file be left unchanged to permit for upgrades,
# and any local additions go into /etc/profile.d/local.sh.

PATH=/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/local/sbin

if [ -x /usr/X11R6/bin/xterm ]; then
	PATH=$PATH:/usr/X11R6/bin
fi

ulimit -Sc 0
umask 077

USER=`id -un`
LOGNAME=$USER
MAIL="/var/spool/mail/$USER"

HOSTNAME=`/bin/hostname`
HISTSIZE=1000

if [ -z "$INPUTRC" -a ! -f "$HOME/.inputrc" ]; then
	INPUTRC=/etc/inputrc
fi

export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE INPUTRC

for i in /etc/profile.d/*.sh ; do
	if [ -x $i ]; then
		. $i
	fi
done

unset i

if [ -f /etc/bashrc -a ! -f "$HOME/.bashrc" ]; then
	. /etc/bashrc
fi
