#!/bin/sh
# $FreeBSD: ports/net/irrd/files/irrd.sh,v 1.2 2006/02/20 20:47:24 dougb Exp $
# 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="/usr/local/sbin/irrd" # Location of irrd
irrd_flags="${irrd_flags:--u}" # Flags to imapd program
. /etc/rc.subr
name="irrd"
rcvar=`set_rcvar`
command="/usr/local/sbin/irrd"
required_files="/usr/local/etc/irrd.conf"
load_rc_config $name
run_rc_command "$1"
syntax highlighted by Code2HTML, v. 0.9.1