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

25 lines
403 B
Bash

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