summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index aa66e79..8f1eda8 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -99,9 +99,12 @@ if ($_POST) {
/* XXX: Make this with a touch file */
$retval = 0;
+ conf_mount_rw();
+ mwexec("rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache");
+ conf_mount_ro();
+
/* nuke the cache file */
config_lock();
- services_dyndns_reset($dyndns['interface'], $dyndns['type']);
$retval = services_dyndns_configure_client($dyndns);
config_unlock();
OpenPOWER on IntegriCloud