diff options
author | Ermal <eri@pfsense.org> | 2013-07-05 10:53:13 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-07-05 10:53:13 +0000 |
commit | f4a8e38c6ed250e9a18c4e472481541198231cdb (patch) | |
tree | da0d0f2b85b137170524ef3c88d472cad2574356 /etc/inc/gwlb.inc | |
parent | 079d1952fdd2aeb668f785a804bcedfd6b8115ef (diff) | |
download | pfsense-f4a8e38c6ed250e9a18c4e472481541198231cdb.zip pfsense-f4a8e38c6ed250e9a18c4e472481541198231cdb.tar.gz |
Resolves #2910. Make apinger write its status file just after starting so that thing work as expected
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r-- | etc/inc/gwlb.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc index 32ffd30..ba9129d 100644 --- a/etc/inc/gwlb.inc +++ b/etc/inc/gwlb.inc @@ -252,6 +252,8 @@ EOD; @unlink("{$g['varrun_path']}/apinger.status"); sleep(1); mwexec_bg("/usr/local/sbin/apinger -c {$g['varetc_path']}/apinger.conf"); + sleep(1); + sigkillbypid("{$g['varrun_path']}/apinger.pid", "USR1"); return 0; } |