#!/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"