diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 14:32:24 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-11-06 14:32:24 +0000 |
commit | 938b8ebfe523edb70a25c588aef82bb637f63f01 (patch) | |
tree | 151ca14bca1df1ca56153e48daff47e55529cad8 /etc/inc | |
parent | 1e7eadd2442d3ab93c411e9d7c0dff66cdffedaf (diff) | |
download | pfsense-938b8ebfe523edb70a25c588aef82bb637f63f01.zip pfsense-938b8ebfe523edb70a25c588aef82bb637f63f01.tar.gz |
Send output into mwexec function
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/vslb.inc | 8 |
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"; |