Index: courier-imap/trunk/courier-imap.rc.d =================================================================== --- courier-imap/trunk/courier-imap.rc.d (revision 68966) +++ courier-imap/trunk/courier-imap.rc.d (working copy) @@ -7,7 +7,7 @@ case "$1" in start) - if [ ${AUTO_AUTHDAEMON="true"} ]; then + if [ $AUTO_AUTHDAEMON="true" ]; then /etc/rc.d/authdaemond start sleep ${AUTO_AUTHDAEMON_LAG} fi @@ -26,6 +26,9 @@ stat_done fi done + if [ $AUTO_AUTHDAEMON="true" ]; then + /etc/rc.d/authdaemond stop + fi ;; stop) for daemon in $CI_DAEMONS; do