aboutsummaryrefslogtreecommitdiffstats
path: root/mail/popular/files/pcheckd.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'mail/popular/files/pcheckd.sh.in')
-rw-r--r--mail/popular/files/pcheckd.sh.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/popular/files/pcheckd.sh.in b/mail/popular/files/pcheckd.sh.in
index 382d613960d..f1b4654091c 100644
--- a/mail/popular/files/pcheckd.sh.in
+++ b/mail/popular/files/pcheckd.sh.in
@@ -9,8 +9,8 @@
# KEYWORD: shutdown
# /etc/rc.conf lines:
-# pcheckd="YES" # enable pcheckd
-# pcheckd="pop" # user for pcheckd
+# pcheckd_enable="YES" # enable pcheckd
+# pcheckd_user="pop" # user for pcheckd
. %%RC_SUBR%%
@@ -19,8 +19,8 @@ rcvar=`set_rcvar`
load_rc_config $name
-: ${pcheckd="NO"}
-: ${pcheckd="pop"}
+: ${pcheckd_enable="NO"}
+: ${pcheckd_user="pop"}
command="%%PREFIX%%/sbin/pcheckd"
start_precmd="${name}_prestart"
@@ -29,9 +29,9 @@ extra_commands="reload"
pproxy_prestart()
{
mkdir -p /var/log/popular
- chown ${pproxy_user} /var/log/popular
+ chown ${pcheckd_user} /var/log/popular
mkdir -p /var/run/popular
- chown ${pproxy_user} /var/run/popular
+ chown ${pcheckd_user} /var/run/popular
}
run_rc_command "$1"