#!/bin/sh
#
#
# PROVIDE: anubis
# REQUIRE: DAEMON
# KEYWORD: FreeBSD
#
# Add the following line to /etc/rc.conf to enable anubis:
#
# anubis_enable="YES"
# anubis_flags="--altrc /usr/local/etc/anubis/anubisrc"
#
# set defaults

anubis_enable=${anubis_enable:-"NO"}
anubis_flags=${anubis_flags:-"--altrc /usr/local/etc/anubis/anubisrc"}

. /etc/rc.subr

name=anubis
rcvar=`set_rcvar`

command=/usr/local/sbin/anubis > /dev/null 2>&1

load_rc_config $name
run_rc_command "$1"
