summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vslb.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/vslb.inc b/etc/inc/vslb.inc
index ba3464f..cc00b69 100644
--- a/etc/inc/vslb.inc
+++ b/etc/inc/vslb.inc
@@ -131,11 +131,11 @@ function slbd_configure() {
* there is a chance the monitor ip gateway will go out the link
* that is up.
*/
- mwexec("/sbin/route delete -host {$lbsvr_split[1]} 1>/dev/null 2>&1");
- mwexec("/sbin/route add -host {$lbsvr_split[1]} 127.0.0.1 1> /dev/null 2>&1");
+ mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1");
+ mwexec("/sbin/route add -host {$lbsvr_split[1]} 127.0.0.1 2>&1");
} else {
- mwexec("/sbin/route delete -host {$lbsvr_split[1]} 1>/dev/null 2>&1");
- mwexec("/sbin/route add -host {$lbsvr_split[1]} {$gateway} 1> /dev/null 2>&1");
+ mwexec("/sbin/route delete -host {$lbsvr_split[1]} 2>&1");
+ mwexec("/sbin/route add -host {$lbsvr_split[1]} {$gateway} 2>&1");
}
}
$slbdconf .= "\t:service-port=666:\\\n";
OpenPOWER on IntegriCloud