aboutsummaryrefslogtreecommitdiff
path: root/mail/tpop3d/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-06-28 02:54:19 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-06-28 02:54:19 +0000
commit130a8036a0e14f95e421aa00d408173d460999a9 (patch)
tree8200fec175f8279f3618692eee1553e8f8479d88 /mail/tpop3d/files
parent604969de9ad5c026a4c827430196c1a1a3571e9b (diff)
downloadports-130a8036a0e14f95e421aa00d408173d460999a9.tar.gz
ports-130a8036a0e14f95e421aa00d408173d460999a9.zip
Notes
Diffstat (limited to 'mail/tpop3d/files')
-rw-r--r--mail/tpop3d/files/tpop3d.sh.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/tpop3d/files/tpop3d.sh.in b/mail/tpop3d/files/tpop3d.sh.in
index 4e32ad9502f2..384e18a3ea67 100644
--- a/mail/tpop3d/files/tpop3d.sh.in
+++ b/mail/tpop3d/files/tpop3d.sh.in
@@ -2,7 +2,7 @@
#
# PROVIDE: tpop3d
-# BEFORE: LOGIN
+# REQUIRE: LOGIN
#
# Add the following line to /etc/rc.conf to enable tpop3d:
@@ -27,14 +27,14 @@ stop_postcmd()
# set defaults
-tpop3d_enable=${tpop3d_enable:-"NO"}
-tpop3d_flags=${tpop3d_flags:-""}
-load_rc_config $name
command=%%PREFIX%%/sbin/tpop3d
required_files=%%PREFIX%%/etc/tpop3d.conf
pidfile=/var/run/tpop3d.pid
-tpop3d_flags="${tpop3d_flags} -f ${required_files} -p ${pidfile}"
+load_rc_config $name
+
+: ${tpop3d_enable="NO"}
+: ${tpop3d_flags="-f ${required_files} -p ${pidfile}"}
run_rc_command "$1"