#!/bin/sh
#
# $FreeBSD: head/net-mgmt/ndpmon/files/ndpmonitor.in 340872 2014-01-24 00:14:07Z mat $
#
# PROVIDE: ndpmonitor
# REQUIRE: LOGIN
# KEYWORD: shutdown
#

. /etc/rc.subr

name="ndpmonitor"
rcvar=ndpmonitor_enable

command="/usr/local/sbin/ndpmon"
required_files=/usr/local/etc/ndpmon/config_ndpmon.xml

load_rc_config $name

: ${ndpmonitor_enable="NO"}

command_args=">/dev/null 2>&1 &"

run_rc_command "$1"
