aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2006-11-20 13:23:01 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2006-11-20 13:23:01 +0000
commit4c102b47ba61194b2e5b6eed2fddcf7151cd9a68 (patch)
treeb19b61d9a3d6c0a2399d439fecf33be080347fc1 /mail
parent1605b65329167fcc577fc4ae0bf738808d17c092 (diff)
downloadports-4c102b47ba61194b2e5b6eed2fddcf7151cd9a68.tar.gz
ports-4c102b47ba61194b2e5b6eed2fddcf7151cd9a68.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/spamass-milter/files/spamass-milter.in10
1 files changed, 4 insertions, 6 deletions
diff --git a/mail/spamass-milter/files/spamass-milter.in b/mail/spamass-milter/files/spamass-milter.in
index 80b5f871d735..f73da3b4a710 100644
--- a/mail/spamass-milter/files/spamass-milter.in
+++ b/mail/spamass-milter/files/spamass-milter.in
@@ -46,11 +46,9 @@ stop_postcmd()
fi
}
-# set defaults
+load_rc_config $name
+: ${spamass_milter_enable="NO"}
+: ${spamass_milter_socket="/var/run/spamass-milter.sock"}
+: ${spamass_milter_flags="-f -p ${spamass_milter_socket}"}
-spamass_milter_enable=${spamass_milter_enable:-"NO"}
-spamass_milter_socket=${spamass_milter_socket:-"/var/run/spamass-milter.sock"}
-spamass_milter_flags=${spamass_milter_flags:-"-f -p ${spamass_milter_socket}"}
-
-load_rc_config ${name}
run_rc_command "$1"