From 9aac569eaa031e27191a3f4165b389a17f467ad2 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Sun, 5 Aug 2012 23:19:36 +0000 Subject: 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 --- net/irrd/Makefile | 2 +- net/irrd/files/irrd.in | 28 ++++++++++++++++++++++++++++ net/irrd/files/irrd.sh.in | 28 ---------------------------- 3 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 net/irrd/files/irrd.in delete mode 100644 net/irrd/files/irrd.sh.in (limited to 'net/irrd') diff --git a/net/irrd/Makefile b/net/irrd/Makefile index 8a2cafa87b27..d74f04906a4c 100644 --- a/net/irrd/Makefile +++ b/net/irrd/Makefile @@ -24,7 +24,7 @@ MAN8= irrd.8 IRRD_CONFDIR= ${PREFIX}/etc -USE_RC_SUBR= irrd.sh +USE_RC_SUBR= irrd GNU_CONFIGURE= yes CONFIGURE_ENV= YACC="${YACC}" #CONFIGURE_ARGS+= --disable-thread diff --git a/net/irrd/files/irrd.in b/net/irrd/files/irrd.in new file mode 100644 index 000000000000..96dee7541f2c --- /dev/null +++ b/net/irrd/files/irrd.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 + +. /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" diff --git a/net/irrd/files/irrd.sh.in b/net/irrd/files/irrd.sh.in deleted file mode 100644 index 96dee7541f2c..000000000000 --- a/net/irrd/files/irrd.sh.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/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" -- cgit v1.2.3