Révision 85b3c597
Ajouté par Renato Botelho il y a plus de 9 ans
usr/local/www/xmlrpc.php | ||
---|---|---|
370 | 370 |
relayd_configure(); |
371 | 371 |
require_once("openvpn.inc"); |
372 | 372 |
openvpn_resync_all(); |
373 |
services_dhcpd_configure(); |
|
374 | 373 |
if (isset($config['dnsmasq']['enable'])) |
375 | 374 |
services_dnsmasq_configure(); |
376 | 375 |
elseif (isset($config['unbound']['enable'])) |
377 | 376 |
services_unbound_configure(); |
377 |
else |
|
378 |
# Both calls above run services_dhcpd_configure(), then we just |
|
379 |
# need to call it when them are not called to avoid restart dhcpd |
|
380 |
# twice, as described on ticket #3797 |
|
381 |
services_dhcpd_configure(); |
|
378 | 382 |
local_sync_accounts(); |
379 | 383 |
|
380 | 384 |
return $xmlrpc_g['return']['true']; |
Formats disponibles : Unified diff
Do not reconfigure dhcpd twice on secondary after config sync. Fixes #3797