aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-20 02:29:44 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-20 02:29:44 +0000
commitf251ab0230f899915bbd0b91bd245ffb5f15a44f (patch)
tree95acc38cb7a50e42f56d3936df6a7107f870a593
parent5adfaeb7ae99cf69edc61d444e5f60eb089ef7f1 (diff)
downloadpfsense-packages-f251ab0230f899915bbd0b91bd245ffb5f15a44f.tar.gz
pfsense-packages-f251ab0230f899915bbd0b91bd245ffb5f15a44f.tar.bz2
pfsense-packages-f251ab0230f899915bbd0b91bd245ffb5f15a44f.zip
Run conf_mount_rw() during deinstall
-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