1d6b4b3f91
s#. %%RC_SUBR%%#. /etc/rc.subr#
25 lines
451 B
Bash
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"
|