aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-16 23:40:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-16 23:40:00 +0000
commit33e10f2c7ce251a696923b1c2dc68c4827a2b550 (patch)
tree490c6ffb2b80e5026330508fb147865a03e2c95a /packages/spamd.inc
parent8caffe34e97713b3ed67a54d8b0ef3c182aa9e7e (diff)
downloadpfsense-packages-33e10f2c7ce251a696923b1c2dc68c4827a2b550.tar.gz
pfsense-packages-33e10f2c7ce251a696923b1c2dc68c4827a2b550.tar.bz2
pfsense-packages-33e10f2c7ce251a696923b1c2dc68c4827a2b550.zip
* Adjust (C)
* Create SpamD configuration even if no sources are defined
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index aa572d86..83a3ca11 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -2,8 +2,8 @@
/* $Id$ */
/*
spamd.inc
- part of the SpamD package for pfSense
- Copyright (C) 2006 Scott Ullrich
+ part of the SpamD package for pfSense
+ Copyright (C) 2008 Scott Ullrich
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -30,8 +30,7 @@
*/
function sync_package_spamd() {
global $config, $g;
- if(!$config['installedpackages']['spamdsources'])
- return;
+
conf_mount_rw();
config_lock();
$fd = fopen("/etc/spamd.conf","w");