#!/bin/sh
######################################################################
#
# prebackout - WebStalker-First patch pre backout script
# $Id: prebackout.ws-first,v 3.4 1996/10/03 20:32:10 snapp Exp $
#
######################################################################
#
# Copyright (c) 1996 Haystack Laboratories, Inc.  All rights reserved.
# Copying or reproduction without prior written approval is prohibited.
#
######################################################################

if [ -f "/opt/netra/security/ws-first/bin/webstlkr.pid" ]; then
	pid=`/usr/bin/cat /opt/netra/security/ws-first/bin/webstlkr.pid`
	if [ -f "/proc/$pid" ]; then
		/usr/bin/kill $pid
	fi
	while [ -f "/opt/netra/security/ws-first/bin/webstlkr.pid" ]; do
		sleep 5
	done
fi

######################################################################
#
# end prebackout
#
######################################################################
