aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tinydns
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-12-09 02:21:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-12-09 02:21:37 +0000
commitb866304c9ae21d9744632840c1563de6fdfd4247 (patch)
tree57222ccb5d1b4e50fdc00d6eb221dcf88ff23f44 /packages/tinydns
parente9fea9b99e6dcedd6b1c51b0f35bc2004577148d (diff)
downloadpfsense-packages-b866304c9ae21d9744632840c1563de6fdfd4247.tar.gz
pfsense-packages-b866304c9ae21d9744632840c1563de6fdfd4247.tar.bz2
pfsense-packages-b866304c9ae21d9744632840c1563de6fdfd4247.zip
Make sure tinydns files are removed upon deinstall
Diffstat (limited to 'packages/tinydns')
-rw-r--r--packages/tinydns/tinydns.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/tinydns/tinydns.inc b/packages/tinydns/tinydns.inc
index 10a05670..35c06c60 100644
--- a/packages/tinydns/tinydns.inc
+++ b/packages/tinydns/tinydns.inc
@@ -126,6 +126,9 @@ function tinydns_custom_php_deinstall_command() {
exec("/usr/sbin/pw groupdel Gdnslog");
exec("/usr/sbin/pw userdel Gtinydns");
exec("/usr/sbin/pw userdel Gdnslog");
+ exec("rm /usr/local/www/*tinydns*");
+ exec("rm /usr/local/pkg/*tinydns*");
+ exec("rm /usr/local/pkg/pf/*tinydns*");
conf_mount_ro();
}