From: Giuseppe Lippolis Date: Sun, 26 Aug 2018 08:52:27 +0000 (+0200) Subject: comgt: increase timeout on runcommands X-Git-Tag: state~1140 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=774d7fc9f2897d7b33ef15ddaa3522531eb85970;p=openwrt%2Fstaging%2Fchunkeey.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 --- diff --git a/package/network/utils/comgt/files/runcommand.gcom b/package/network/utils/comgt/files/runcommand.gcom index e99b6f922a..88a9d29dc1 100644 --- a/package/network/utils/comgt/files/runcommand.gcom +++ b/package/network/utils/comgt/files/runcommand.gcom @@ -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