mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
No more ping log
This commit is contained in:
parent
193bd806a9
commit
458603e683
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ _ping() {
|
|||
-w "$OMR_TRACKER_TIMEOUT" \
|
||||
-c 2 \
|
||||
-Q 184 \
|
||||
"${host}"
|
||||
"${host}" 2>&1
|
||||
) && echo "$ret" | grep -sq "bytes from" && {
|
||||
if [ "$localip" = "yes" ]; then
|
||||
OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f5 | cut -d "." -f1)
|
||||
|
@ -111,7 +111,7 @@ _ping() {
|
|||
-w "$OMR_TRACKER_TIMEOUT" \
|
||||
-c 2 \
|
||||
-Q 184 \
|
||||
"${host}"
|
||||
"${host}" 2>&1
|
||||
) && echo "$ret" | grep -sq "bytes from" && {
|
||||
if [ "$localip" = "yes" ]; then
|
||||
OMR_TRACKER_LATENCY=$(echo "$ret" | cut -d "/" -s -f5 | cut -d "." -f1)
|
||||
|
|
Loading…
Reference in a new issue