aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ndpmon/files/ndpmonitor.in
blob: ef8c321167c795fb4fe24db4eeac403484f2c1db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

# PROVIDE: ndpmonitor
# REQUIRE: LOGIN
# KEYWORD: shutdown
#

. /etc/rc.subr

name="ndpmonitor"
rcvar=ndpmonitor_enable

command="%%PREFIX%%/sbin/ndpmon"
required_files=%%ETCDIR%%/config_ndpmon.xml

load_rc_config $name

: ${ndpmonitor_enable="NO"}

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

run_rc_command "$1"