#!/bin/sh
#
# @(#)run_httpd.sh	1.2 99/03/12 Sun Microsystems, Inc.
#


PATH="/bin:/usr/bin"
SS_BINDIR=/opt/SUNWicg/SunScreen/bin
SS_ETCDIR=/etc/opt/SUNWicg/SunScreen
SS_VARDIR=/var/opt/SUNWicg/SunScreen

case "$1" in

  'start')
 
	htserver add efshttpd /etc/opt/SUNWicg/SunScreen/http/efshttpd.conf
	htserver enable efshttpd
	htserver start efshttpd

	   ;;
  
  'stop')

	htserver stop efshttpd
	  ;;
  
  *)
     /bin/echo "Usage: $SS_BINDIR/run_httpd { start | stop }"
       ;;

esac
