aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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
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')
-rw-r--r--packages/spamd.inc7
-rw-r--r--packages/spamd_settings.xml8
2 files changed, 5 insertions, 10 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");
diff --git a/packages/spamd_settings.xml b/packages/spamd_settings.xml
index 87096423..44951f5c 100644
--- a/packages/spamd_settings.xml
+++ b/packages/spamd_settings.xml
@@ -7,13 +7,9 @@
/* $Id$ */
/* ========================================================================== */
/*
- authng.xml
+ spamd_settings.xml
part of pfSense (http://www.pfSense.com)
- Copyright (C) 2007 to whom it may belong
- All rights reserved.
-
- Based on m0n0wall (http://m0n0.ch/wall)
- Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>.
+ Copyright (C) 2008 Scott Ullrich
All rights reserved.
*/
/* ========================================================================== */