#    Copyright (c) 1996-2005 Brocade Communications Systems, Inc.
#    All rights reserved.
#
#    profile for the diag user of Fabric OS services and interfaces

PATH="/fabos/factory:/fabos/link_sbin:/fabos/link_abin:/fabos/xtool:/fabos/link_bin"
# Set the control-C handler back to default
# This trap was turned off in /etc/profile.
# Note that this trap statement should be BEFORE chkdefaultpasswds
# otherwise control-C cannot be used to quit changing default passwords.
trap - INT

# The following is added to check for default password for factory login
if [ $standby -eq 0 ]; then
	/fabos/bin/chkdefaultpasswds
fi
