#!/bin/sh
#
# Copyright (c) 2001, PerfCap Corporation, Nashua NH
# All Rights Reserved
#
# Sun Kit Install: Preremove script ()
#---------------------------------------------------------------

IMAGE=$PERFCAP_ROOT/bin/pawzagent

RUN_IMAGE="`ps -e | grep pawzagen`"
if [ -n "$RUN_IMAGE" ]
then
       echo "PAWZ Agent running. Executing stop command..."
       $IMAGE -stop
       sleep 1
fi
exit 0
