#!/bin/sh 
#
# $FreeBSD$
#

# PROVIDE: fbsdmon
# REQUIRE: LOGIN
# KEYWORD: shutdown

# Add the following line to /etc/rc.conf to enable `fbsdmon':
#
# fbsdmon_enable="YES"
#


. /etc/rc.subr

name=fbsdmon
rcvar=fbsdmon_enable

load_rc_config "$name"
: ${fbsdmon_enable="NO"}

command="/usr/local/sbin/$name"
command_args="-D"

run_rc_command "$1"
