aboutsummaryrefslogtreecommitdiffstats
path: root/mail/dspam
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2006-05-05 20:27:34 +0800
committererwin <erwin@FreeBSD.org>2006-05-05 20:27:34 +0800
commit031670dc1833fb7279ec922c38acf8bc4ada948a (patch)
tree08b4b0f0967fcf3a291dea2b06c56fba5bf89318 /mail/dspam
parent628f94b50400e49a3bb98d9ac132ad217571e681 (diff)
downloadfreebsd-ports-graphics-031670dc1833fb7279ec922c38acf8bc4ada948a.tar.gz
freebsd-ports-graphics-031670dc1833fb7279ec922c38acf8bc4ada948a.tar.zst
freebsd-ports-graphics-031670dc1833fb7279ec922c38acf8bc4ada948a.zip
Fix warning.
PR: 96818 Submitted by: Artis Caune <Artis.Caune@latnet.lv> Approved by: maintainer
Diffstat (limited to 'mail/dspam')
-rw-r--r--mail/dspam/files/dspam.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/mail/dspam/files/dspam.in b/mail/dspam/files/dspam.in
index e9256859a06..4577ca4d309 100644
--- a/mail/dspam/files/dspam.in
+++ b/mail/dspam/files/dspam.in
@@ -21,6 +21,13 @@
name="dspam"
rcvar=${name}_enable
+load_rc_config $name
+
+#defaults
+: ${dspam_enable="NO"}
+: ${dspam_debug="NO"}
+: ${dspam_pidfile:-/var/run/dspam.pid}
+
command=%%PREFIX%%/bin/${name}
if checkyesno dspam_debug
then
@@ -37,11 +44,4 @@ reload()
kill -HUP `cat $pidfile`
}
-load_rc_config $name
-
-#defaults
-: ${dspam_enable="NO"}
-: ${dspam_debug="NO"}
-: ${dspam_pidfile:-/var/run/dspam.pid}
-
run_rc_command "$1"