aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-28 06:23:29 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-28 06:23:29 +0000
commit1e38d0c4857e04f67d91c8ddbd801970fecf02aa (patch)
tree3cd2e6fa5a3e2acf0419774d98299f0cf0709182 /packages/spamd.inc
parent609d43417376e2816d3f244dcba8018e8854fbe0 (diff)
downloadpfsense-packages-1e38d0c4857e04f67d91c8ddbd801970fecf02aa.tar.gz
pfsense-packages-1e38d0c4857e04f67d91c8ddbd801970fecf02aa.tar.bz2
pfsense-packages-1e38d0c4857e04f67d91c8ddbd801970fecf02aa.zip
Move RO call to end
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 84c61c43..e6bdcf0e 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -37,9 +37,6 @@ function sync_package_spamd() {
fwrite($fd, $spamd['ip'] . "\n");
}
fclose($fd);
- conf_mount_ro();
- config_unlock();
-
$passtime = "5:4:864";
$identifier = "";
$greylisting = " -g";
@@ -80,6 +77,8 @@ function sync_package_spamd() {
"stop" => $stop
)
);
+ conf_mount_ro();
+ config_unlock();
restart_service("spamd");
}