#!/bin/sh
#
# Copyright (c) 2002, PerfCap Corporation, Nashua NH
# All Rights Reserved
#---------------------------------------------------------

PERFCAP_LIBRARY=/opt/perfcap

if [ -x $PERFCAP_LIBRARY/bin/ecap_monitor ] 
then
    echo "Stopping the eCAP Monitor..."
    $PERFCAP_LIBRARY/bin/ecap_monitor -stop
    sleep 1
fi

if [ -f /sbin/init.d/perfcap ]
then
   sh /sbin/init.d/perfcap stop
fi
exit 0
