summaryrefslogtreecommitdiff
path: root/etc/rc.d/spamd
blob: fbf67898ac489a114932f7de1ef0e0f7fc10bde2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# $OpenBSD: spamd,v 1.1 2011/07/07 23:29:45 robert Exp $

daemon="/usr/libexec/spamd"

. /etc/rc.d/rc.subr

pexp="spamd: \[priv\]"

rc_pre() {
	[ X"${spamd_black}" != X"NO" ] && \
		daemon_flags="-b ${daemon_flags}"
}

rc_cmd $1