aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWesley Shields <wxs@FreeBSD.org>2008-12-18 03:40:09 +0000
committerWesley Shields <wxs@FreeBSD.org>2008-12-18 03:40:09 +0000
commitc53d5d5044be8f5127f1dda01bccaf721bfda6fd (patch)
tree4821109db78eaedc524ebe0eff80aa998f277dc8
parentd7a2bb3c89d38730e332965969488378be232006 (diff)
downloadports-c53d5d5044be8f5127f1dda01bccaf721bfda6fd.tar.gz
ports-c53d5d5044be8f5127f1dda01bccaf721bfda6fd.zip
Notes
-rw-r--r--mail/policyd2/Makefile2
-rw-r--r--mail/policyd2/files/policyd2.sh.in (renamed from mail/policyd2/files/policyd.sh.in)10
2 files changed, 6 insertions, 6 deletions
diff --git a/mail/policyd2/Makefile b/mail/policyd2/Makefile
index 16798b11f0c3..4d19a9a61290 100644
--- a/mail/policyd2/Makefile
+++ b/mail/policyd2/Makefile
@@ -24,7 +24,7 @@ RUN_DEPENDS= ${SITE_PERL}/Net/Server.pm:${PORTSDIR}/net/p5-Net-Server \
USE_PERL5= yes
USE_PHP= yes
NO_BUILD= yes
-USE_RC_SUBR= policyd.sh
+USE_RC_SUBR= policyd2.sh
SUB_FILES= pkg-message
WEBUIDIR= ${PREFIX}/www/policyd
diff --git a/mail/policyd2/files/policyd.sh.in b/mail/policyd2/files/policyd2.sh.in
index 8875a0a7fc57..2300abe0866a 100644
--- a/mail/policyd2/files/policyd.sh.in
+++ b/mail/policyd2/files/policyd2.sh.in
@@ -1,12 +1,12 @@
#!/bin/sh
-# Start or stop policyd
+# Start or stop policyd2
# $FreeBSD$
-# PROVIDE: policyd
+# PROVIDE: policyd2
# KEYWORD: shutdown
#
-# Define these policyd_* variables in one of these files:
+# Define these policyd2_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
#
@@ -15,7 +15,7 @@
. %%RC_SUBR%%
-name="policyd"
+name="policyd2"
rcvar=`set_rcvar`
command="%%LOCALBASE%%/bin/cbpolicyd"
@@ -23,6 +23,6 @@ procname="/usr/bin/perl"
load_rc_config $name
-: ${policyd_enable="NO"}
+: ${policyd2_enable="NO"}
run_rc_command "$1"