summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/services_dyndns.php')
-rwxr-xr-xusr/local/www/services_dyndns.php15
1 files changed, 7 insertions, 8 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php
index 5846f1c..835b70b 100755
--- a/usr/local/www/services_dyndns.php
+++ b/usr/local/www/services_dyndns.php
@@ -114,14 +114,13 @@ if ($_POST) {
write_config();
$retval = 0;
- if (!file_exists($d_sysrebootreqd_path)) {
- /* nuke the cache file */
- config_lock();
- services_dyndns_reset();
- $retval = services_dyndns_configure();
- $retval |= services_dnsupdate_process();
- config_unlock();
- }
+
+ /* nuke the cache file */
+ config_lock();
+ services_dyndns_reset();
+ $retval = services_dyndns_configure();
+ $retval |= services_dnsupdate_process();
+ config_unlock();
$savemsg = get_std_save_message($retval);
}
}
OpenPOWER on IntegriCloud