mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
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
23 lines
494 B
Bash
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"
|