freebsd-ports/net-mgmt/coovachilli/files/coovachilli.in
Doug Barton 1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00

25 lines
451 B
Bash

#!/bin/sh
# PROVIDE: coovachilli
# REQUIRE: netif
# BEFORE: pf ipfw
# KEYWORD: nojail
#
# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
# to enable this service:
#
# coovachilli_enable (bool): Set to NO by default.
# Set it to YES to enable coova-chilli.
. /etc/rc.subr
name=coovachilli
rcvar=coovachilli_enable
command=%%PREFIX%%/sbin/chilli
pidfile=/var/run/chilli.pid
load_rc_config $name
run_rc_command "$1"