diff options
Diffstat (limited to 'mail/dspam')
-rw-r--r-- | mail/dspam/files/dspam.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/dspam/files/dspam.sh b/mail/dspam/files/dspam.sh index 2bc49028f19..7f911b65e06 100644 --- a/mail/dspam/files/dspam.sh +++ b/mail/dspam/files/dspam.sh @@ -1,9 +1,10 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: dspam.sh,v 1.2 2005/04/26 15:43:26 jwise Exp $ +# $NetBSD: dspam.sh,v 1.3 2005/10/12 20:22:55 xtraeme Exp $ # # PROVIDE: dspam +# REQUIRE: SERVERS # BEFORE: DAEMON if [ -f /etc/rc.subr ]; then @@ -65,6 +66,6 @@ else esac fi -if [ "$1" != "stop" -o "$1" != "status" ]; then +if checkyesno "${rcvar}" && [ "$1" != "stop" -o "$1" != "status" ]; then echo $(check_process $command) > $pidfile fi |