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