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.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 1dbadc0..12df1d5 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -109,16 +109,16 @@ if ($_POST) {
write_config();
-
- /* XXX: Make this with a touch file */
$retval = 0;
conf_mount_rw();
+
mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache");
- conf_mount_ro();
$retval = services_dyndns_configure_client($dyndns);
+ conf_mount_ro();
+
header("Location: services_dyndns.php");
exit;
}
OpenPOWER on IntegriCloud