aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
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"