#!/bin/sh # # $FreeBSD: $ # # PROVIDE: tproxy # REQUIRE: NETWORKING SERVERS # BEFORE: DAEMON # KEYWORD: shutdown # # Add the following line to /etc/rc.conf to enable tproxy: # # tproxy_enable="YES" # . %%RC_SUBR%% name=tproxy rcvar=`set_rcvar` command=%%PREFIX%%/bin/${name} tproxy_enable=${tproxy_enable:-"NO"} tproxy_flags=${tproxy_flags:-""} load_rc_config $name run_rc_command "$1"