Revision 3851094f
Added by Scott Ullrich about 20 years ago
- Drop kick reboots bye bye
usr/local/www/services_dyndns.php | ||
---|---|---|
114 | 114 |
write_config(); |
115 | 115 |
|
116 | 116 |
$retval = 0; |
117 |
if (!file_exists($d_sysrebootreqd_path)) { |
|
118 |
/* nuke the cache file */ |
|
119 |
config_lock(); |
|
120 |
services_dyndns_reset(); |
|
121 |
$retval = services_dyndns_configure(); |
|
122 |
$retval |= services_dnsupdate_process(); |
|
123 |
config_unlock(); |
|
124 |
} |
|
117 |
|
|
118 |
/* nuke the cache file */ |
|
119 |
config_lock(); |
|
120 |
services_dyndns_reset(); |
|
121 |
$retval = services_dyndns_configure(); |
|
122 |
$retval |= services_dnsupdate_process(); |
|
123 |
config_unlock(); |
|
125 | 124 |
$savemsg = get_std_save_message($retval); |
126 | 125 |
} |
127 | 126 |
} |
Also available in: Unified diff