mirror of https://github.com/hak5/openwrt.git
comgt: increase timeout on runcommands
Some combination of modem/wireless operator requires more time to
execute the commands.
Tested on DWR-512 embedded wwan modem and italian operator iliad (new
virtual operator).
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
(cherry picked from commit 774d7fc9f2
)
openwrt-18.06
parent
27e6d719e9
commit
159a52e1c2
|
@ -10,7 +10,7 @@ opengt
|
|||
send $env("COMMAND")
|
||||
send "^m"
|
||||
|
||||
waitfor 15 "OK","ERR","ERROR","COMMAND NOT SUPPORT"
|
||||
waitfor 25 "OK","ERR","ERROR","COMMAND NOT SUPPORT"
|
||||
if % = 0 goto continue
|
||||
if % = 1 goto error
|
||||
if % = 2 goto error
|
||||
|
|
Loading…
Reference in New Issue