net/mwan3: remove pid file use pgrep to get pid
authorFlorian Eckert <redacted>
Mon, 8 May 2017 09:43:27 +0000 (11:43 +0200)
committerFlorian Eckert <redacted>
Fri, 12 May 2017 13:28:12 +0000 (15:28 +0200)
commit1fd3f85d4fbcacd817383df479c5674c4ff13e3e
tree87a938554d6ae4210ab501023db786fd5fdf65c4
parent0ecc08784c6d5d676508236dcbdafcafe0eafa08
net/mwan3: remove pid file use pgrep to get pid

If mwan3track will not stop immediately after sending the kill signal,
the clean_up handler will delete the pid file later while the new mwan3track is
already running.

This could result in a situation that mwan3track is running
more then once because the old mwan3track service could not be killed,
because the pid file is missing.

Using pgrep to kill all mwan3track for the tracked interface and not using
pid file should fix this issue.

Signed-off-by: Florian Eckert <redacted>
net/mwan3/files/lib/mwan3/mwan3.sh
net/mwan3/files/usr/libexec/rpcd/mwan3
net/mwan3/files/usr/sbin/mwan3
net/mwan3/files/usr/sbin/mwan3track
git clone https://git.99rst.org/PROJECT