#!/bin/bash
#
# Description: Reset all processes in the same process group ID as the CCFW Manager by killing
#              these processes and then starting the CCFW Manager.
#
# Change Activity:
#   10/19/2004 P. Callaghan - initial version
#
#STARTUSAGE
#
# Usage:
#   resetccfw
#
#ENDUSAGE
#****************************************************************************

export PATH=$PATH:/opt/hsc/bin/
killGroupOf '/bin/sh /opt/ccfw/runccfw /opt/ccfw ccfw'
killRC=$?
#if [ "$killRC" != "0" ] ; then
#  exit $killRC
#fi

set -m
/bin/bash /opt/ccfw/startccfw & 

exit $?

