mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add xml sync schedules option
This commit is contained in:
parent
530b5e46f9
commit
e130cfd349
@ -3100,6 +3100,9 @@ function carp_sync_client() {
|
||||
if($carp['synchronizednsforwarder'] != "" and is_array($config['dnsmasq'])) {
|
||||
$sections[] = 'dnsmasq';
|
||||
}
|
||||
if($carp['synchronizeschedules'] != "" and is_array($config['schedules'])) {
|
||||
$sections[] = 'schedules';
|
||||
}
|
||||
if(count($sections) > 0) {
|
||||
update_filter_reload_status("Signaling CARP reload signal...");
|
||||
carp_sync_xml($synchronizetoip, $carp['password'], $sections, $port);
|
||||
|
||||
@ -144,11 +144,17 @@
|
||||
<note>Note: CARP sync is currently only supported over http connections - make sure the remote system's WebGUI protocol is set to this!</note>
|
||||
</field>
|
||||
<field>
|
||||
<fielddescr>Remote System Password</fielddescr>
|
||||
<fieldname>password</fieldname>
|
||||
<description>Enter the webGUI password of the system that you would like to synchronize with.</description>
|
||||
<type>password</type>
|
||||
</field>
|
||||
<fielddescr>Remote System Password</fielddescr>
|
||||
<fieldname>password</fieldname>
|
||||
<description>Enter the webGUI password of the system that you would like to synchronize with.</description>
|
||||
<type>password</type>
|
||||
</field>
|
||||
<field>
|
||||
<fielddescr>Synchronize Firewall Schedules</fielddescr>
|
||||
<fieldname>synchronizeschedules</fieldname>
|
||||
<description>When this option is enabled, this system will automatically sync the firewall schedules over to the other carp host when changes are made.</description>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
</fields>
|
||||
<custom_php_validation_command>
|
||||
if($_POST["synchronizetoip"])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user