1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net-mgmt/ndpmon/files/ndpmonitor.in
2021-04-06 16:31:13 +02:00

23 lines
315 B
Bash

#!/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"