blob: d579251515f274722a508c04db8c1052ea69f03a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/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"
|