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

  IMAGE=/opt/perfcap/bin/pawzrta
  RUN_IMAGE="`ps -e | grep pawzrta`"
  if [ -n "${RUN_IMAGE}" ]
  then
       echo "PAWZrta running. Executing stop command..."
       $IMAGE -stop
       sleep 1
  fi

  exit 0
