#!/bin/bash
#
# Copyright (C) 2005 McAfee Inc. All rights reserved.
#
# Startup script for transparency 
#

start()
{
   test -d /proc/wsnat
   if [ $? = 0 ]
   then
       exit 0
   fi
}
stop()
{
   RL=`/sbin/runlevel  | cut -f2 -d" "`
   if [ "${RL}" = "6" ]
   then
       exit 0
   fi
}
# See how we were called.
case "$1" in
  start)
        start
	;;
  stop)
       stop 
	;;
esac

/usr/sbin/webshield ws_transparency $*
exit $?
