ports/net/igmpproxy/files/igmpproxy.in
Bruce M Simpson 7ac2945bce Add new port igmpproxy.
This is an IGMPv2 aware multicast forwarding proxy.
It cannot be run simultaneously with other multicast
routing daemons.

PR:		ports/130174
Submitted by:	Alexander Chernikov
2009-03-18 15:18:53 +00:00

23 lines
494 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# PROVIDE: igmpproxy
# REQUIRE: NETWORKING
# The following variables are provided to control startup of igmpproxy
# rc configuration file (eg /etc/rc.conf):
# igmpproxy_enable (bool): Set to "NO" by default.
# Set it to "YES" to enable igmpproxy.
. %%RC_SUBR%%
name="igmpproxy"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
required_files="%%PREFIX%%/etc/igmpproxy.conf"
igmpproxy_enable=${igmpproxy_enable-"NO"}
load_rc_config $name
run_rc_command "$1"