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


OS="`uname -s`"
OSVER="`uname -r`"
INSTALL_DIR=/opt/perfcap


if [ -d /usr/man/man1 ]
then
    cd /usr/man/man1
    ln -fs $INSTALL_DIR/man/pawzrta.1 .
fi 

if [ ! -d $INSTALL_DIR/logs ]
then
   mkdir $INSTALL_DIR/logs
fi

if [ ! -d $INSTALL_DIR/tmp ]
then
    mkdir $INSTALL_DIR/tmp
fi
echo ""
echo "----------------------------------------------------------"
echo "  PAWZ RealTime Agent has been installed "
echo " "
echo "    The installation directory is $INSTALL_DIR"
echo " "
echo "    the PAWZ Realtime  is available through"
echo "    $INSTALL_DIR/bin/pawzrta"
echo " "
echo "----------------------------------------------------------"
exit 0
