#!/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=/usr/local/sbin/chilli
pidfile=/var/run/chilli.pid

load_rc_config $name

run_rc_command "$1"
