summaryrefslogtreecommitdiff
path: root/net/pimdd/files/pimdd.in
blob: 239797997cf1813bca94ebd455964a3e4622a9e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

# PROVIDE: pimdd
# REQUIRE: netif routing
# KEYWORD: nojail

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

. /etc/rc.subr

name="pimdd"
rcvar="${name}_enable"
command="%%PREFIX%%/sbin/${name}"
required_files="%%PREFIX%%/etc/${name}.conf"
extra_commands=reload

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