diff options
author | sat <sat@FreeBSD.org> | 2006-11-20 21:23:01 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2006-11-20 21:23:01 +0800 |
commit | 3b6eb29a22fc88215cbd9f9a9683fe6011e67e1e (patch) | |
tree | 7d30e758b1448e6e9a8de3aac80fb7648b4ecec3 /mail | |
parent | 8a924574591df062db2c486d3ccfc61336a4543d (diff) | |
download | freebsd-ports-gnome-3b6eb29a22fc88215cbd9f9a9683fe6011e67e1e.tar.gz freebsd-ports-gnome-3b6eb29a22fc88215cbd9f9a9683fe6011e67e1e.tar.zst freebsd-ports-gnome-3b6eb29a22fc88215cbd9f9a9683fe6011e67e1e.zip |
- Minor fix to rc.d script
Approved by: Thomas Abthorpe <thomas@goodking.ca>
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" |