#!/bin/sh
#
#        Copyright(C) 1997 Network Flight Recorder, Inc.
#        All rights reserved.
#
#        Use and distribution of this software and its source code
#        are governed by the terms and conditions of the
#        Network Flight Recorder Software License ("LICENSE.TXT")
#
# File: stop_nfr
# Author: Eric Wall (eric@nfr.net)
#


NFRHOME=INSTALL
export NFRHOME

cd ${NFRHOME}

pid=`cat ${NFRHOME}/etc/run/nfrwatch.pid`
if test "$pid"
then
	echo "Sutting down NFR . . .";
	kill -TERM $pid
else
	echo " *** Could not stop NFR";
fi
