freebsd-ports/net/pim6dd/files/pim6dd.in
2015-09-07 19:23:26 +00:00

25 lines
403 B
Bash

#!/bin/sh
# $FreeBSD$
#
# PROVIDE: pim6dd
# REQUIRE: netif routing
# KEYWORD: nojail
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# pim6dd_enable="YES"
#
. /etc/rc.subr
name="pim6dd"
rcvar="${name}_enable"
command="%%PREFIX%%/sbin/${name}"
required_files="%%PREFIX%%/etc/${name}.conf"
extra_commands=reload
load_rc_config $name
: ${pim6dd_enable="NO"}
run_rc_command "$1"