Merge pull request #13688 from dibdot/trm-19.07
[19.07] travelmate: bugfix single radio mode
This commit is contained in:
commit
e2567b210f
2 changed files with 4 additions and 4 deletions
|
@ -6,8 +6,8 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=travelmate
|
PKG_NAME:=travelmate
|
||||||
PKG_VERSION:=1.5.4
|
PKG_VERSION:=1.5.5
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=1
|
||||||
PKG_LICENSE:=GPL-3.0-or-later
|
PKG_LICENSE:=GPL-3.0-or-later
|
||||||
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
LC_ALL=C
|
LC_ALL=C
|
||||||
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
PATH="/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
trm_ver="1.5.4"
|
trm_ver="1.5.5"
|
||||||
trm_enabled=0
|
trm_enabled=0
|
||||||
trm_debug=0
|
trm_debug=0
|
||||||
trm_iface="trm_wwan"
|
trm_iface="trm_wwan"
|
||||||
|
@ -245,7 +245,7 @@ f_check()
|
||||||
{
|
{
|
||||||
local IFS ifname radio dev_status result uci_section login_command login_command_args wait_time=1 mode="${1}" status="${2:-"false"}" cp_domain="${3:-"false"}"
|
local IFS ifname radio dev_status result uci_section login_command login_command_args wait_time=1 mode="${1}" status="${2:-"false"}" cp_domain="${3:-"false"}"
|
||||||
|
|
||||||
if [ "${mode}" != "initial" ] && [ "${mode}" != "dev" ] && [ "${status}" = "false" ]
|
if [ "${mode}" != "initial" ] && [ "${status}" = "false" ]
|
||||||
then
|
then
|
||||||
"${trm_wifi}" "${trm_wificmd}"
|
"${trm_wifi}" "${trm_wificmd}"
|
||||||
sleep $((trm_maxwait/6))
|
sleep $((trm_maxwait/6))
|
||||||
|
|
Loading…
Reference in a new issue