diff --git a/src/etc/rc b/src/etc/rc index d4bda2a1..033bc77d 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.298 2007/02/02 14:51:19 ajacoutot Exp $ +# $OpenBSD: rc,v 1.299 2007/02/27 02:10:58 beck Exp $ # System startup script run by init on autoboot # or after single-user. @@ -668,8 +668,8 @@ if [ X"${sshd_flags}" != X"NO" ]; then fi if [ X"${spamd_flags}" != X"NO" ]; then - if [ X"${spamd_grey}" != X"NO" ]; then - spamd_flags="${spamd_flags} -g" + if [ X"${spamd_grey}" = X"NO" ]; then + spamd_flags="${spamd_flags} -b" fi echo -n ' spamd'; eval /usr/libexec/spamd ${spamd_flags} /usr/libexec/spamd-setup