diff options
author | Ermal <eri@pfsense.org> | 2010-12-01 17:22:51 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-12-01 17:23:11 +0000 |
commit | 435a418fc88dea53a8ec3e3d295d0701bb92cebf (patch) | |
tree | b0d6b50eb258d232811976a736492c4782d394f3 /etc/inc/gwlb.inc | |
parent | 893f47847b22a18cfaa1fc6185d001ec111597d7 (diff) | |
download | pfsense-435a418fc88dea53a8ec3e3d295d0701bb92cebf.zip pfsense-435a418fc88dea53a8ec3e3d295d0701bb92cebf.tar.gz |
Do not spam console with useless messages. Also remove killall not needed anymore.
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index ee2a2b1..0391e44 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -213,7 +213,7 @@ EOD; log_error("Removing static route for monitor {$gateway['monitor']} and adding a new route through {$gateway['gateway']}"); mwexec("/sbin/route delete -host " . escapeshellarg($gateway['monitor']), true); mwexec("/sbin/route add -host " . escapeshellarg($gateway['monitor']) . - " " . escapeshellarg($gateway['gateway'])); + " " . escapeshellarg($gateway['gateway']), true); } $apingerconfig .= $alarmscfg; @@ -223,8 +223,6 @@ EOD; fclose($fd); killbypid("{$g['varrun_path']}/apinger.pid"); - // TEMPORARY XXX - exec("/usr/bin/killall -9 apinger"); if (is_dir("{$g['tmp_path']}")) chmod("{$g['tmp_path']}", 01777); if (!is_dir("{$g['vardb_path']}/rrd")) |