#!/bin/ksh

if [ -f /etc/opt/SUNWisp/ixftagbls ]; then
        . /etc/opt/SUNWisp/ixftagbls
else
# Second tier case where SUNWixtnm is not needed and the admin servers need    
# not run.     
        return 0
fi

if [ -f  /etc/opt/SUNWisp/globals ]; then
        . /etc/opt/SUNWisp/globals
else
# Second tier case where SUNWixtnm is not needed and the admin servers need
# not run.
        return 0
fi

StopFtpadServ ()
{
  if [ -f ${FTPADSERV_PID_FILE} ]; then
	FTPADSERV_PID=`cat ${FTPADSERV_PID_FILE}`
	${KILL} ${FTPADSERV_PID} 2> /dev/null
  fi
}

Main ()
{
  StopFtpadServ
  CleanUp ${FTPADSERV_PID_FILE}
}

Main $*
