#!/bin/sh
#
# $FreeBSD: tags/RELEASE_9_1_0/sysutils/cfengine22/files/cfservd.in 300897 2012-07-14 14:29:18Z beat $
#
# PROVIDE: cfservd
# REQUIRE: SERVERS
# BEFORE:  DAEMON
# KEYWORD: shutdown
#
# Add the following line to /etc/rc.conf[.local] to enable cfservd(8)
#
# cfservd_enable (bool):        Set to "NO" by default.
#                               Set it to "YES" to enable cfservd.
# cfservd_flags (str):          Custom additional arguments to be passed
#                               to cfservd (default empty).
#

. /etc/rc.subr

name="cfservd"
rcvar=cfservd_enable

command="/usr/local/sbin/${name}"

load_rc_config $name

: ${cfservd_enable="NO"}

run_rc_command "$1"
