travelmate: update 2.0.8-3
* refine vpn timeout
Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit f0477d9499
)
This commit is contained in:
parent
5651f6a3ee
commit
d845c3dc35
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=travelmate
|
||||
PKG_VERSION:=2.0.8
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
PKG_LICENSE:=GPL-3.0-or-later
|
||||
PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ if [ "${vpn}" = "1" ] && [ "${vpn_action}" = "enable" ] && [ "${vpn_status:-"fal
|
|||
break
|
||||
fi
|
||||
fi
|
||||
if [ "${cnt}" -ge "$((trm_maxwait / 6))" ]; then
|
||||
if [ "${cnt}" -ge "$((trm_maxwait / 3))" ]; then
|
||||
"${trm_logger}" -p "info" -t "trm-vpn [${$}]" "${vpn_service} client connection can't be established" 2>/dev/null
|
||||
ubus call network.interface."${vpn_iface}" down
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue