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