#!/bin/sh
#
# $FreeBSD: ports/sysutils/monitord/files/monitord.in,v 1.1 2007/06/07 10:33:51 sat Exp $
#
# PROVIDE: monitord
# REQUIRE: LOGIN
# KEYWORD: shutdown
#
# Add the following lines to /etc/rc.conf to enable monitord:
#
# monitord_enable="YES"
#
# See monitord(8) for flags.
#

. /etc/rc.subr

name="monitord"
rcvar=`set_rcvar`

load_rc_config $name
: ${monitord_enable="NO"}
: ${monitord_flags="-f /usr/local/etc/monitord.conf"}

command="/usr/local/sbin/monitord"
required_files="/usr/local/etc/monitord.conf"

run_rc_command "$1"


syntax highlighted by Code2HTML, v. 0.9.1