diff options
author | Chris Buechler <cmb@pfsense.org> | 2008-01-12 19:22:33 +0000 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2008-01-12 19:22:33 +0000 |
commit | 05030ab8e43cf282bbe208165d38354a2e795b9c (patch) | |
tree | ae63ab223c53fe8f77f2d03fdb311b802fc03a3f /etc/inc | |
parent | f873da66cba3497043cdec2651c9c9ed9f02a3da (diff) | |
download | pfsense-05030ab8e43cf282bbe208165d38354a2e795b9c.zip pfsense-05030ab8e43cf282bbe208165d38354a2e795b9c.tar.gz |
remove DynDNS cache in services_dyndns_reset()
Ticket #1589
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/services.inc | 6 |
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; } |