#!/bin/sh
########################################################################
# Begin $/opt/midas/bin/signal-system-shutdown-dl2
#
# Description : Used by MC host to indicate that the system has
#               shutdown.
#               DL2 specific version
#
# Authors     : MLA
#
# Version     : 00.00
#
# Notes       : none.
#
########################################################################




# Constants
#   NONE


# Include generic functions.
. /etc/rc.d/init.d/functions


#
# Determine what type of node this is executing on.
#
whatami TYPE ID


if [ "${TYPE}" = "MC" ]; then
	
	echo "SIGNALLING SYSTEM SHUTDOWN"
	/opt/midas/bin/mc-event-notifier 14001 192.168.20.10 1024 5 shutdown
fi
