freebsd-ports/net/irrd/files/irrd.in
Doug Barton 9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00

28 lines
578 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: irrd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: shutdown
# Define these irrd_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
# /etc/rc.conf.d/irrd
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
irrd_enable="${irrd_enable:-NO}" # Enable irrd
#irrd_program="%%PREFIX%%/sbin/irrd" # Location of irrd
irrd_flags="${irrd_flags:--u}" # Flags to imapd program
. /etc/rc.subr
name="irrd"
rcvar=irrd_enable
command="%%PREFIX%%/sbin/irrd"
required_files="%%PREFIX%%/etc/irrd.conf"
load_rc_config $name
run_rc_command "$1"