1# Default system-wide login shell profile. 2 3# Activate emacs keybindings and command line history support 4set -o emacs 5 6# Set the default path 7PATH=/usr/local/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/games 8 9# Add ~/bin, iff it is present 10if [ -e ${HOME}/bin ]; then 11 PATH=${HOME}/bin:${PATH} 12fi 13 14# Add sbin for root 15if [ "x$(id -u)" = "x0" ]; then 16 PATH=/usr/local/sbin:/usr/pkg/sbin:/usr/sbin:/sbin:${PATH} 17 18 if [ -e ${HOME}/sbin ]; then 19 PATH=${HOME}/sbin:${PATH} 20 fi 21fi 22 23# Set the timezone 24export TZ=GMT0 25RC_TZ=/etc/rc.timezone 26 27if [ -f ${RC_TZ} ]; then 28 . ${RC_TZ} 29fi 30 31export PATH TZ 32 33