Commit bd6d928a authored by Franco Fichtner's avatar Franco Fichtner

relayd: should grep from top dir ;)

parent 438ad5b7
...@@ -201,7 +201,7 @@ system_ntp_configure(false); ...@@ -201,7 +201,7 @@ system_ntp_configure(false);
echo "done.\n"; echo "done.\n";
/* start load balancer daemon */ /* start load balancer daemon */
relayd_configure(); relayd_configure_do();
/* start DHCP service */ /* start DHCP service */
services_dhcpd_configure(); services_dhcpd_configure();
......
...@@ -45,6 +45,6 @@ require_once("rrd.inc"); ...@@ -45,6 +45,6 @@ require_once("rrd.inc");
system_routing_configure(); system_routing_configure();
setup_gateways_monitor(); setup_gateways_monitor();
relayd_configure(); relayd_configure_do();
openvpn_resync_all(); openvpn_resync_all();
services_dhcpd_configure(); services_dhcpd_configure();
...@@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
exit; exit;
} elseif (!empty($_POST['apply'])) { } elseif (!empty($_POST['apply'])) {
/* reload all components that use igmpproxy */ /* reload all components that use igmpproxy */
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
clear_subsystem_dirty('loadbalancer'); clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_monitor.php')); header(url_safe('Location: /load_balancer_monitor.php'));
......
...@@ -61,7 +61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -61,7 +61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} }
exit; exit;
} elseif (!empty($_POST['apply'])) { } elseif (!empty($_POST['apply'])) {
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
clear_subsystem_dirty('loadbalancer'); clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_monitor.php')); header(url_safe('Location: /load_balancer_monitor.php'));
......
...@@ -53,7 +53,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { ...@@ -53,7 +53,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig = $_POST; $pconfig = $_POST;
$input_errors = array(); $input_errors = array();
if (!empty($pconfig['apply'])) { if (!empty($pconfig['apply'])) {
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
clear_subsystem_dirty('loadbalancer'); clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_setting.php')); header(url_safe('Location: /load_balancer_setting.php'));
......
...@@ -86,7 +86,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { ...@@ -86,7 +86,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
} }
exit; exit;
} elseif (!empty($_POST['apply'])) { } elseif (!empty($_POST['apply'])) {
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
/* Wipe out old relayd anchors no longer in use. */ /* Wipe out old relayd anchors no longer in use. */
cleanup_lb_marked(); cleanup_lb_marked();
......
...@@ -45,7 +45,7 @@ $a_pool = &$config['load_balancer']['lbpool']; ...@@ -45,7 +45,7 @@ $a_pool = &$config['load_balancer']['lbpool'];
if ($_SERVER['REQUEST_METHOD'] === 'POST') { if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['apply'])) { if (!empty($_POST['apply'])) {
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
clear_subsystem_dirty('loadbalancer'); clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /status_lb_pool.php')); header(url_safe('Location: /status_lb_pool.php'));
......
...@@ -45,7 +45,7 @@ if (empty($config['load_balancer']['virtual_server']) || !is_array($config['load ...@@ -45,7 +45,7 @@ if (empty($config['load_balancer']['virtual_server']) || !is_array($config['load
if ($_SERVER['REQUEST_METHOD'] === 'POST') { if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['apply'])) { if (!empty($_POST['apply'])) {
relayd_configure(); relayd_configure_do();
filter_configure(); filter_configure();
clear_subsystem_dirty('loadbalancer'); clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /status_lb_vs.php')); header(url_safe('Location: /status_lb_vs.php'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment