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);
echo "done.\n";
/* start load balancer daemon */
relayd_configure();
relayd_configure_do();
/* start DHCP service */
services_dhcpd_configure();
......
......@@ -45,6 +45,6 @@ require_once("rrd.inc");
system_routing_configure();
setup_gateways_monitor();
relayd_configure();
relayd_configure_do();
openvpn_resync_all();
services_dhcpd_configure();
......@@ -62,7 +62,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
exit;
} elseif (!empty($_POST['apply'])) {
/* reload all components that use igmpproxy */
relayd_configure();
relayd_configure_do();
filter_configure();
clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_monitor.php'));
......
......@@ -61,7 +61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
exit;
} elseif (!empty($_POST['apply'])) {
relayd_configure();
relayd_configure_do();
filter_configure();
clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_monitor.php'));
......
......@@ -53,7 +53,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$pconfig = $_POST;
$input_errors = array();
if (!empty($pconfig['apply'])) {
relayd_configure();
relayd_configure_do();
filter_configure();
clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /load_balancer_setting.php'));
......
......@@ -86,7 +86,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
}
exit;
} elseif (!empty($_POST['apply'])) {
relayd_configure();
relayd_configure_do();
filter_configure();
/* Wipe out old relayd anchors no longer in use. */
cleanup_lb_marked();
......
......@@ -45,7 +45,7 @@ $a_pool = &$config['load_balancer']['lbpool'];
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['apply'])) {
relayd_configure();
relayd_configure_do();
filter_configure();
clear_subsystem_dirty('loadbalancer');
header(url_safe('Location: /status_lb_pool.php'));
......
......@@ -45,7 +45,7 @@ if (empty($config['load_balancer']['virtual_server']) || !is_array($config['load
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
if (!empty($_POST['apply'])) {
relayd_configure();
relayd_configure_do();
filter_configure();
clear_subsystem_dirty('loadbalancer');
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