#!/bin/sh # # $FreeBSD: ports/net/bfilter/files/bfilter.sh.in,v 1.2 2006/07/19 16:04:34 dougb Exp $ # # PROVIDE: bfilter # REQUIRE: DAEMON # # Add the following line to /etc/rc.conf to enable bfilter: # # bfilter_enable="YES" # . %%RC_SUBR%% name=bfilter rcvar=`set_rcvar` command=%%PREFIX%%/bin/${name} sig_stop=KILL load_rc_config ${name} bfilter_enable=${bfilter_enable-"NO"} bfilter_flags=${bfilter_flags-"-c %%PREFIX%%/etc/bfilter"} run_rc_command "$1"