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

PERFCAP_LIBRARY=/opt/perfcap
OSVER="`uname -r`"

if [ ! -f $PERFCAP_LIBRARY/settings/pawz_`hostname`.memory ]
then
       cp $PERFCAP_LIBRARY/settings/pawz_hpux.memory  \
             $PERFCAP_LIBRARY/settings/pawz_`hostname`.memory
      chown bin:bin $PERFCAP_LIBRARY/settings/*.memory
      chmod 0744 $PERFCAP_LIBRARY/settings/*.memory
fi
echo "-----------------------------------------------------------------------"
echo "  PAWZ Agent installed, access it with $PERFCAP_LIBRARY/bin/pawzagent  "
echo "-----------------------------------------------------------------------"
exit 0
