mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-02-20 17:52:48 +00:00
Check for check_calib_inf.pid file
And kill only when it exists. Avoids error message on first call of wgd.sh
This commit is contained in:
parent
e60c3d1541
commit
33d13ba8b4
@ -161,10 +161,7 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
if ps -p $(</tmp/check_calib_inf.pid) > /dev/null
|
||||
then
|
||||
kill $(</tmp/check_calib_inf.pid)
|
||||
fi
|
||||
[ -e /tmp/check_calib_inf.pid ] && kill -0 $(</tmp/check_calib_inf.pid)
|
||||
./check_calib_inf.sh
|
||||
|
||||
echo the end
|
||||
|
Loading…
x
Reference in New Issue
Block a user