aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-07-20 00:04:34 +0800
committerdougb <dougb@FreeBSD.org>2006-07-20 00:04:34 +0800
commit0bc7a6d9fb3ca4f9bab85a80d1479b0ebe7f9e64 (patch)
tree9e1f91749d310e1d070416c858896017c2272f5a /net
parentfcbd6234b583d3027e42cb61cde35e1a9a34dd09 (diff)
downloadfreebsd-ports-gnome-0bc7a6d9fb3ca4f9bab85a80d1479b0ebe7f9e64.tar.gz
freebsd-ports-gnome-0bc7a6d9fb3ca4f9bab85a80d1479b0ebe7f9e64.tar.zst
freebsd-ports-gnome-0bc7a6d9fb3ca4f9bab85a80d1479b0ebe7f9e64.zip
Tune up the rc.d script generally, including fixing the sig_stop value
which was Pointed out by: Nikolaus Waxweiler <madleser@gmx.de>
Diffstat (limited to 'net')
-rw-r--r--net/bfilter/Makefile1
-rw-r--r--net/bfilter/files/bfilter.sh.in11
2 files changed, 6 insertions, 6 deletions
diff --git a/net/bfilter/Makefile b/net/bfilter/Makefile
index 640d702ec30c..3a4a634a6f0c 100644
--- a/net/bfilter/Makefile
+++ b/net/bfilter/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bfilter
PORTVERSION= 1.0.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/net/bfilter/files/bfilter.sh.in b/net/bfilter/files/bfilter.sh.in
index 5ae1b47a7f27..8b9ef7435a0f 100644
--- a/net/bfilter/files/bfilter.sh.in
+++ b/net/bfilter/files/bfilter.sh.in
@@ -10,18 +10,17 @@
# bfilter_enable="YES"
#
-bfilter_enable=${bfilter_enable-"NO"}
-bfilter_flags=${bfilter_flags-"-c %%PREFIX%%/etc/bfilter"}
-
. %%RC_SUBR%%
-load_rc_config bfilter
-
name=bfilter
rcvar=`set_rcvar`
command=%%PREFIX%%/bin/${name}
-sig_stop=-KILL
+sig_stop=KILL
load_rc_config ${name}
+
+bfilter_enable=${bfilter_enable-"NO"}
+bfilter_flags=${bfilter_flags-"-c %%PREFIX%%/etc/bfilter"}
+
run_rc_command "$1"