mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Increase default sleep on ModemManager modem restart and add it as a parameter in network luci interface
This commit is contained in:
parent
c525e9c9f2
commit
ef0040e56f
3 changed files with 13 additions and 7 deletions
|
@ -263,6 +263,8 @@ _restart
|
|||
|
||||
OMR_TRACKER_INTERFACE_PROTO="$(uci -q get network.${OMR_TRACKER_INTERFACE}.proto)"
|
||||
OMR_TRACKER_PREV_STATUS=""
|
||||
[ "$OMR_TRACKER_INTERFACE_PROTO" = "modemmanager" ] && sleep $(uci -q get network.${OMR_TRACKER_INTERFACE}.delay || echo '120')
|
||||
|
||||
# main loop
|
||||
while true; do
|
||||
# setup tracker variables
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue