#
#    Copyright (c) 1996-2001 Brocade Communications Systems, Inc.
#    All rights reserved.
#
#    Executes commands on logout
#   
#

# Call the logout script

if [ $setup_standby_profile -eq 0 ]; then
	if [ -x /fabos/bin/logout ]; then
		enable -n logout
		logout $PPID
	fi
else
	if [ -x /fabos/standby_bin/logout ]; then
		enable -n logout
		logout $PPID
	fi
fi
enable -a logout
logout
