aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/spamd.inc')
-rw-r--r--packages/spamd.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/spamd.inc b/packages/spamd.inc
index 6b2f7f0d..6cfd8492 100644
--- a/packages/spamd.inc
+++ b/packages/spamd.inc
@@ -188,9 +188,11 @@ function custom_php_install_command() {
function custom_php_deinstall_command() {
global $config, $g;
+ conf_mount_rw();
unlink_if_exists("/usr/local/pkg/pf/spamd_rules.php");
unlink_if_exists("/usr/local/www/spamd_rules.php");
unlink_if_exists("/usr/local/etc/rc.d/spamd.sh");
+ conf_mount_ro();
}
?> \ No newline at end of file