From 938b8ebfe523edb70a25c588aef82bb637f63f01 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Thu, 6 Nov 2008 14:32:24 +0000 Subject: Send output into mwexec function --- etc/inc/vslb.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'etc/inc/vslb.inc') 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"; -- cgit v1.1