summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2008-01-12 19:22:33 +0000
committerChris Buechler <cmb@pfsense.org>2008-01-12 19:22:33 +0000
commit05030ab8e43cf282bbe208165d38354a2e795b9c (patch)
treeae63ab223c53fe8f77f2d03fdb311b802fc03a3f /etc
parentf873da66cba3497043cdec2651c9c9ed9f02a3da (diff)
downloadpfsense-05030ab8e43cf282bbe208165d38354a2e795b9c.zip
pfsense-05030ab8e43cf282bbe208165d38354a2e795b9c.tar.gz
remove DynDNS cache in services_dyndns_reset()
Ticket #1589
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 7de6348..ed7ad4b 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -469,6 +469,12 @@ function services_dyndns_reset() {
unlink("{$g['conf_path']}/ez-ipupdate.cache");
conf_mount_ro();
}
+
+ if (file_exists("{$g['conf_path']}/dyndns.cache")) {
+ conf_mount_rw();
+ unlink("{$g['conf_path']}/dyndns.cache");
+ conf_mount_ro();
+ }
return 0;
}
OpenPOWER on IntegriCloud