1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 02:51:50 +00:00

clear OMR_TRACKER_DEVICE_GATEWAY

OMR_TRACKER_DEVICE_GATEWAY variable may change over time and must be cleared in new cycle
This commit is contained in:
Ivan Revyakin 2019-09-12 16:49:05 +03:00 committed by GitHub
parent 05df54a468
commit 16488e34c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,6 +159,7 @@ while true; do
OMR_TRACKER_LATENCY=
OMR_TRACKER_TIMEOUT=$((rto / 1000 + (rto % 1000 ? 1 : 0)))
OMR_TRACKER_LIST_HOSTS=""
OMR_TRACKER_DEVICE_GATEWAY=
serverip_ping=false
if [ -d "/sys/class/net/$OMR_TRACKER_DEVICE" ]; then