travelmate: update 2.0.8-3

* refine vpn timeout

Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
Dirk Brenken 2022-06-27 11:27:17 +02:00
parent 8ec712ff61
commit f0477d9499
No known key found for this signature in database
GPG Key ID: 9D71CD547BFAE684
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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