#!/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: start_nfr
# Author: Eric Wall (eric@nfr.net)
#


NFRHOME=INSTALL
export NFRHOME

cd ${NFRHOME}

if [ -x ${NFRHOME}/bin/nfrwatch ]
then
	if [ -f ${NFRHOME}/etc/nfr.conf ]
	then
		echo "Starting NFR . . .";
		${NFRHOME}/bin/nfrwatch ${NFRHOME}/etc/nfr.conf
	else
		echo " *** NFR not started.";
		echo " *** Could not find config file: etc/nfr.conf";
	fi
else
	echo " *** NFR not started.";  
	echo " *** Could not find or execute: bin/nfrwatch";
fi
