aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-17 22:18:10 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-17 22:18:10 +0000
commit82c00223b8d3c4c543bd2f01556f14b8bea16564 (patch)
tree3d81c8de98b3dc4f06e2d6815a3e068c46917a6d /packages
parent3baf067a2443c54fc069065fac97d125817946a2 (diff)
downloadpfsense-packages-82c00223b8d3c4c543bd2f01556f14b8bea16564.tar.gz
pfsense-packages-82c00223b8d3c4c543bd2f01556f14b8bea16564.tar.bz2
pfsense-packages-82c00223b8d3c4c543bd2f01556f14b8bea16564.zip
Ensure /var/db/spamd is created.
Diffstat (limited to 'packages')
-rw-r--r--packages/spamd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index d279bfc8..6520aa3b 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -115,7 +115,8 @@ function sync_package_spamd() {
}
}
$greyparms = " -G {$passtime}:{$greyexp}:{$whiteexp}";
- $start = "/sbin/mount_fdescfs fdescfs /dev/fd\n" .
+ $start = "mkdir -p /var/db/spamd\n";
+ "/sbin/mount_fdescfs fdescfs /dev/fd\n" .
"/usr/local/sbin/spamd-setup -d &\n" .
"/sbin/pflogd &\n" .
"/usr/local/libexec/spamd {$greyparms}{$identifier}{$greylisting}{$maxcon}{$maxblack}{$window}{$replysmtperror} -b 127.0.0.1 &\n" .