summaryrefslogtreecommitdiffstats
path: root/etc/inc/vslb.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-11-06 14:32:24 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-11-06 14:32:24 +0000
commit938b8ebfe523edb70a25c588aef82bb637f63f01 (patch)
tree151ca14bca1df1ca56153e48daff47e55529cad8 /etc/inc/vslb.inc
parent1e7eadd2442d3ab93c411e9d7c0dff66cdffedaf (diff)
downloadpfsense-938b8ebfe523edb70a25c588aef82bb637f63f01.zip
pfsense-938b8ebfe523edb70a25c588aef82bb637f63f01.tar.gz
Send output into mwexec function
Diffstat (limited to 'etc/inc/vslb.inc')
-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