diff options
author | sem <sem@FreeBSD.org> | 2008-02-15 22:18:26 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2008-02-15 22:18:26 +0800 |
commit | 5031665063867420db2d234cc4eb478b319269fa (patch) | |
tree | c9cbba54b83c2920ca4fd24264bca198ef998a65 /net/irrd | |
parent | a4623b4492fdf92369ef2c84568839a06f05563a (diff) | |
download | freebsd-ports-gnome-5031665063867420db2d234cc4eb478b319269fa.tar.gz freebsd-ports-gnome-5031665063867420db2d234cc4eb478b319269fa.tar.zst freebsd-ports-gnome-5031665063867420db2d234cc4eb478b319269fa.zip |
- Add forgotten RC script
Diffstat (limited to 'net/irrd')
-rw-r--r-- | net/irrd/files/irrd.sh.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/net/irrd/files/irrd.sh.in b/net/irrd/files/irrd.sh.in new file mode 100644 index 000000000000..033b875555b6 --- /dev/null +++ b/net/irrd/files/irrd.sh.in @@ -0,0 +1,28 @@ +#!/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 + +. %%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" |