#!/bin/bash
#
# Startup script for Appliance Logging
#
# chkconfig: 345 20 80
# description: Webshield Logging start
#
# (C) Copyright Network Associates Inc. 2003
#
#

if [ -f $NETAWSS/.profile.vars ]; then 
 . $NETAWSS/.profile.vars 
else 
 . /var/NAIENV/.profile.vars 
fi 
PATH=$wsPATH:$PATH
RET=0

# See how we were called.
case "$1" in
  (start)
    	if [ -f $WSMGMT/cleanactive ]; then
		$WSMGMT/cleanactive -t 1 &
	fi
	;;
  (stop|restart|reload)
	RET=0
	;;
  (*)
	echo "Usage: $0 {start|stop|restart|reload}"
	exit 1
esac

exit $RET
