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

if [ $setup_standby_profile -eq 0 ]; then
PATH="/fabos/link_sbin:/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
chkdefaultpasswds
else
PATH="/fabos/link_sbin:/fabos/link_bin"
# Set trap for SIGINT back to default. See comments above.
trap - INT
fi
# we will disable hashing as it will defeat our PATH settings
# by hashing the original symbolic link values to the
# obsolute paths.
shopt -s checkhash > /dev/null
