#!/bin/sh
#
# PROVIDE: pimd
# REQUIRE: netif routing
# KEYWORD: nojail

#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# pimd_enable="YES"
#

. /etc/rc.subr

name="pimd"
rcvar="${name}_enable"
command="/usr/local/sbin/${name}"
required_files="/usr/local/etc/${name}.conf"
extra_commands=reload

load_rc_config $name
: ${pimd_enable="NO"}
run_rc_command "$1"

