# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:/IBM/bin:/opt/IBMJava2-13/jre/bin:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME=""

export USERNAME BASH_ENV PATH

##########################################
# IBM NetVista Linux Thin Client Changes #
##########################################
# If using SAMBA home directories
if [ -f /etc/smbhome ]; then
	echo -e "\nMounting SAMBA home directory"
	smbmount //$SMBSERVER/$LOGNAME $HOME -o username=$LOGNAME
	cd
	if [ ! -f .bash_logout ]; then
		cp /etc/skel/.bash_logout .
	fi
fi
