1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/irrd/files/irrd.sh
Norikatsu Shigemura f2eb839f9d o Add a rcNG script.
o Add dependency on ftp/wget.
o Fix re-close(3) problem.
o Add signal mask if already signaled.

Submitted by:	TAKANO Yuji <takano@net-chef.net> (maintainer)
2004-06-13 10:21:31 +00:00

29 lines
585 B
Bash

#!/bin/sh
# $FreeBSD$
# PROVIDE: irrd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: FreeBSD 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
. %%RC_SUBR%%
name="irrd"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/irrd"
required_files="%%PREFIX%%/etc/irrd.conf"
load_rc_config $name
run_rc_command "$1"