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-mgmt/fprobe/Makefile | 2 +- net-mgmt/fprobe/files/fprobe.in | 28 ++++++++++++++++++++++++++++ net-mgmt/fprobe/files/fprobe.sh.in | 28 ---------------------------- 3 files changed, 29 insertions(+), 29 deletions(-) create mode 100644 net-mgmt/fprobe/files/fprobe.in delete mode 100644 net-mgmt/fprobe/files/fprobe.sh.in (limited to 'net-mgmt/fprobe') diff --git a/net-mgmt/fprobe/Makefile b/net-mgmt/fprobe/Makefile index 617a6fd571bb..9f22c83f1127 100644 --- a/net-mgmt/fprobe/Makefile +++ b/net-mgmt/fprobe/Makefile @@ -19,7 +19,7 @@ PLIST_FILES= sbin/fprobe PORTDOCS= ChangeLog README SUB_LIST= NAME=${PORTNAME} USE_BZIP2= yes -USE_RC_SUBR= fprobe.sh +USE_RC_SUBR= fprobe MAN8= fprobe.8 diff --git a/net-mgmt/fprobe/files/fprobe.in b/net-mgmt/fprobe/files/fprobe.in new file mode 100644 index 000000000000..b2cff48f2b11 --- /dev/null +++ b/net-mgmt/fprobe/files/fprobe.in @@ -0,0 +1,28 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# PROVIDE: fprobe +# REQUIRE: NETWORKING +# KEYWORD: shutdown + +# Add the following lines to /etc/rc.conf to enable %%NAME%%: +# +#%%NAME%%_enable="YES" +# +# See fprobe(8) for %%NAME%%_flags +# + +. /etc/rc.subr + +name="%%NAME%%" +rcvar=%%NAME%%_enable + +command="%%PREFIX%%/sbin/fprobe" +command_args="-i lo0 127.0.0.1:2055" +pidfile="/var/run/$name.pid" + +load_rc_config "$name" +: ${fprobe_enable="NO"} + +run_rc_command "$1" diff --git a/net-mgmt/fprobe/files/fprobe.sh.in b/net-mgmt/fprobe/files/fprobe.sh.in deleted file mode 100644 index b2cff48f2b11..000000000000 --- a/net-mgmt/fprobe/files/fprobe.sh.in +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: fprobe -# REQUIRE: NETWORKING -# KEYWORD: shutdown - -# Add the following lines to /etc/rc.conf to enable %%NAME%%: -# -#%%NAME%%_enable="YES" -# -# See fprobe(8) for %%NAME%%_flags -# - -. /etc/rc.subr - -name="%%NAME%%" -rcvar=%%NAME%%_enable - -command="%%PREFIX%%/sbin/fprobe" -command_args="-i lo0 127.0.0.1:2055" -pidfile="/var/run/$name.pid" - -load_rc_config "$name" -: ${fprobe_enable="NO"} - -run_rc_command "$1" -- cgit v1.2.3