diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-11-20 13:23:01 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2006-11-20 13:23:01 +0000 |
commit | 4c102b47ba61194b2e5b6eed2fddcf7151cd9a68 (patch) | |
tree | b19b61d9a3d6c0a2399d439fecf33be080347fc1 /mail | |
parent | 1605b65329167fcc577fc4ae0bf738808d17c092 (diff) | |
download | ports-4c102b47ba61194b2e5b6eed2fddcf7151cd9a68.tar.gz ports-4c102b47ba61194b2e5b6eed2fddcf7151cd9a68.zip |
Notes
Diffstat (limited to 'mail')
-rw-r--r-- | mail/spamass-milter/files/spamass-milter.in | 10 |
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" |