diff options
author | 2011-07-08 00:17:15 +0000 | |
---|---|---|
committer | 2011-07-08 00:17:15 +0000 | |
commit | 0509c90bceddcffeddaf8393f94c6dcd0a807e9b (patch) | |
tree | 93f784dbb79f6be53e8ff52a91792797316bb9eb | |
parent | make rc_daemons use start_daemon instead of calling the script directly (diff) | |
download | wireguard-openbsd-0509c90bceddcffeddaf8393f94c6dcd0a807e9b.tar.xz wireguard-openbsd-0509c90bceddcffeddaf8393f94c6dcd0a807e9b.zip |
only start spamlogd if spamd_flags != NO and spamd_black = NO
spotted by halex@
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.368 2011/07/08 00:15:19 robert Exp $ +# $OpenBSD: rc,v 1.369 2011/07/08 00:17:15 robert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -570,7 +570,7 @@ start_daemon spamd [ X"${spamd_flags}" != X"NO" ] && \ /usr/libexec/spamd-setup -D -if [ X"${spamd_black}" = X"NO" ]; then +if [ X"${spamd_flags}" != X"NO" -a X"${spamd_black}" = X"NO" ]; then echo -n ' spamlogd' /usr/libexec/spamlogd ${spamlogd_flags} fi |