#!/bin/sh
#
# PROVIDE: pftpx
# REQUIRE: DAEMON pf
#
# Add the following lines to /etc/rc.conf to enable pftpx:
#
# pftpx_enable (bool): Set to "YES" to enable pftpx.
# Default is "NO".
# pftpx_flags (flags): Set extra flags to pftpx.
# Default is "". See pftpx(8).
#
. /etc/rc.subr
name="pftpx"
rcvar=${name}_enable
load_rc_config $name
: ${pftpx_enable="NO"}
command="/usr/local/sbin/pftpx"
run_rc_command "$1"