travelmate: update 2.0.8-3
* refine vpn timeout Signed-off-by: Dirk Brenken <dev@brenken.org>
This commit is contained in:
parent
8ec712ff61
commit
f0477d9499
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=travelmate
|
PKG_NAME:=travelmate
|
||||||
PKG_VERSION:=2.0.8
|
PKG_VERSION:=2.0.8
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
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>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ if [ "${vpn}" = "1" ] && [ "${vpn_action}" = "enable" ] && [ "${vpn_status:-"fal
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
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
|
"${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
|
ubus call network.interface."${vpn_iface}" down
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue