#	Copyright (c) 1984, 1987 AT&T
#	  All Rights Reserved

#	THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
#	The copyright notice above does not evidence any
#	actual or intended publication of such source code.

#ident	"@(#)profile	1.3"
#	The profile that all logins get before using their own .profile.

trap "" 1 2 3
umask 022       # set default file creation mask
. /etc/TIMEZONE

case "$0" in
-sh | -rsh)
# calculate available disk space in root filesystem.
#       . /etc/dfspace      --- df not ready for alpha ---

# issue message of the day
	trap : 1 2 3
	if [ -s /etc/motd ] ; then cat /etc/motd; fi

	trap "" 1 2 3
	stty erase '^h' echoe
	export TERM;    TERM=AT386

# check mailbox and news bulletins
	if mail -e
	then echo "you have mail"
	fi
	if [ $LOGNAME != root ]
	then news -n
	fi
	;;
-su)
	:
	;;
esac
export PATH;
trap 1 2 3
