mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Put default values for all sleep in OMR-Tracker
This commit is contained in:
parent
08916a7788
commit
e9c8954c83
2 changed files with 5 additions and 4 deletions
|
@ -98,6 +98,7 @@ _launch_tracker() {
|
|||
ifstatus=$(ifstatus "$1" | jsonfilter -q -e '@["up"]')
|
||||
ifdevice=$(ifstatus "$1" | jsonfilter -q -e '@["device"]')
|
||||
#[ "${ifstatus}" = "false" ] && [ -z "${ifdevice}" ] && return
|
||||
[ -z "${interval}" ] && interval=2
|
||||
[ -z "${interval_tries}" ] && interval_tries=1
|
||||
[ -z "${count}" ] && count=2
|
||||
[ -z "${max_ttl}" ] && max_ttl=60
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue