aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound
diff options
context:
space:
mode:
Diffstat (limited to 'config/unbound')
-rw-r--r--config/unbound/unbound.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/unbound/unbound.inc b/config/unbound/unbound.inc
index fc72dde7..0a4efcae 100644
--- a/config/unbound/unbound.inc
+++ b/config/unbound/unbound.inc
@@ -596,8 +596,9 @@ function unbound_uninstall() {
unbound_control("termstop");
// Remove pkg config directory and startup file
mwexec("rm -rf /usr/local/etc/unbound");
- mwexec("rm -f /usr/local/etc/rc.d/unbound.sh");
- mwexec("rm -f {$g['varlog_path']}/unbound.log");
+ @unlink("/usr/local/etc/rc.d/unbound.sh");
+ @unlink("{$g['varlog_path']}/unbound.log");
+ @unlink("/var/tmp/unbound_cache");
conf_mount_ro();
@@ -753,4 +754,4 @@ function unbound_add_domain_overrides($pvt=false) {
}
}
-?>
+?> \ No newline at end of file