summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2008-02-15 14:18:26 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2008-02-15 14:18:26 +0000
commit061e814ebbe17d1539defeadc2a1db8657422cd2 (patch)
treeec494bcb56315f027c36da2f3edc40e70c76ffc1 /net
parent- Update to 2.3.4 (diff)
- Add forgotten RC script
Notes
Notes: svn path=/head/; revision=207249
Diffstat (limited to 'net')
-rw-r--r--net/irrd/files/irrd.sh.in28
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"