ports/net/pimd/files/pimd.in
Olivier Cochard 8e153fe138 - Update to 2.3.2
- Fix build on i386

PR:		202959
Submitted by:	hrs
Approved by:	jadawin
Differential Revision:	https://reviews.freebsd.org/D5608
2016-03-11 14:06:39 +00:00

24 lines
383 B
Bash

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