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

 if [ -h /usr/share/man/man1/ecap_monitor.1 ]
 then
    rm -f /usr/share/man/man1/ecap_monitor.1
 fi

 if [ -d "$PERFCAP_ROOT/logs" ]
 then
     rm -f $PERFCAP_ROOT/logs/ecps_*.log > /dev/null 2>&1
 fi

 if [ -h /usr/bin/ecap_monitor ]
 then
   rm -f /usr/bin/ecap_monitor
 fi

 echo "-----------------------------------------------------------"
 echo " eCAP Monitor removal complete."
 echo " "
 echo " Performance data files have NOT been removed."
 echo " These are typically in $PERFCAP_ROOT/data"
 echo "-----------------------------------------------------------"
 exit 0
