From f0d9f58b7f1825fb95236f427a6400ad54ad4b5e Mon Sep 17 00:00:00 2001 From: dougb 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 --- irc/unreal/Makefile | 2 +- irc/unreal/files/unrealircd.in | 31 +++++++++++++++++++++++++++++++ irc/unreal/files/unrealircd.sh.in | 31 ------------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 irc/unreal/files/unrealircd.in delete mode 100644 irc/unreal/files/unrealircd.sh.in (limited to 'irc/unreal') diff --git a/irc/unreal/Makefile b/irc/unreal/Makefile index e730c5698d14..186558aa1937 100644 --- a/irc/unreal/Makefile +++ b/irc/unreal/Makefile @@ -27,7 +27,7 @@ RUNDIR= /var/run/ircd LOGDIR= /var/log/ircd HAS_CONFIGURE= yes -USE_RC_SUBR= unrealircd.sh +USE_RC_SUBR= unrealircd USERS= ircd GROUPS= ircd diff --git a/irc/unreal/files/unrealircd.in b/irc/unreal/files/unrealircd.in new file mode 100644 index 000000000000..9781f577850d --- /dev/null +++ b/irc/unreal/files/unrealircd.in @@ -0,0 +1,31 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +# PROVIDE: unrealircd +# REQUIRE: NETWORKING SERVERS +# BEFORE: DAEMON +# KEYWORD: shutdown + +# +# Add the following line to /etc/rc.conf to enable Unreal IRCd: +# unrealircd_enable (bool): Set to "NO" by default. +# Set it to "YES" to enable Unreal IRCd +# + +. /etc/rc.subr + +name="unrealircd" +rcvar=unrealircd_enable + +command="%%PREFIX%%/libexec/ircd" +pidfile="%%RUNDIR%%/ircd.pid" + +[ -z "$unrealircd_enable" ] && unrealircd_enable="NO" + +required_dirs="%%RUNDIR%% %%RUNDIR%%/tmp" +required_files="%%PREFIX%%/etc/Unreal/unrealircd.conf" + +load_rc_config $name +run_rc_command "$1" diff --git a/irc/unreal/files/unrealircd.sh.in b/irc/unreal/files/unrealircd.sh.in deleted file mode 100644 index 9781f577850d..000000000000 --- a/irc/unreal/files/unrealircd.sh.in +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: unrealircd -# REQUIRE: NETWORKING SERVERS -# BEFORE: DAEMON -# KEYWORD: shutdown - -# -# Add the following line to /etc/rc.conf to enable Unreal IRCd: -# unrealircd_enable (bool): Set to "NO" by default. -# Set it to "YES" to enable Unreal IRCd -# - -. /etc/rc.subr - -name="unrealircd" -rcvar=unrealircd_enable - -command="%%PREFIX%%/libexec/ircd" -pidfile="%%RUNDIR%%/ircd.pid" - -[ -z "$unrealircd_enable" ] && unrealircd_enable="NO" - -required_dirs="%%RUNDIR%% %%RUNDIR%%/tmp" -required_files="%%PREFIX%%/etc/Unreal/unrealircd.conf" - -load_rc_config $name -run_rc_command "$1" -- cgit