#!/bin/sh
#
#  Monitor Post Remove Installation Script HPUX
#
# Copyright (c) 2001, PerfCap Corporation, Nashua NH
# All Rights Reserved
#---------------------------------------------------------------
#
INSTALL_DIR=/opt/perfcap
#
# remove softlinks
#
if [ -h /usr/man/man1/cpcunix.1 ]
then
  rm -f /usr/man/man1/cpcunix.1
fi
if [ -h /usr/bin/ecap_monitor ]
then
   rm -f /usr/bin/ecap_monitor
fi
if [ -h /usr/man/man1/ecap_monitor.1 ]
then
  rm -f /usr/man/man1/ecap_monitor.1
fi

rm -rf $INSTALL_DIR/logs/ecp*.log

if [ -f  $INSTALL_DIR/settings/.install_dc ]
then
 rm -f $INSTALL_DIR/settings/.install_dc
fi

exit
