aboutsummaryrefslogtreecommitdiffstats
path: root/config/portsentry/portsentry.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/portsentry/portsentry.inc')
-rw-r--r--config/portsentry/portsentry.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/portsentry/portsentry.inc b/config/portsentry/portsentry.inc
index b0a750d8..d51f9035 100644
--- a/config/portsentry/portsentry.inc
+++ b/config/portsentry/portsentry.inc
@@ -1,6 +1,8 @@
<?php
function portsentry_custom_php_deinstall_command() {
+ global $config;
+
conf_mount_rw();
exec("killall portsentry");
exec("rm -rf /usr/local/etc/portsentry*");