diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-04-16 23:40:00 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-04-16 23:40:00 +0000 |
commit | 33e10f2c7ce251a696923b1c2dc68c4827a2b550 (patch) | |
tree | 490c6ffb2b80e5026330508fb147865a03e2c95a /packages/spamd.inc | |
parent | 8caffe34e97713b3ed67a54d8b0ef3c182aa9e7e (diff) | |
download | pfsense-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.inc | 7 |
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"); |