From 4cd8a126e9ecbce8771257c68f8c31ebfbfdd26f Mon Sep 17 00:00:00 2001 From: RISCi_ATOM Date: Mon, 30 Mar 2020 00:36:50 -0400 Subject: [PATCH] vpnc-script: enable reconnect Based upon upstream package feed commit : 80ab3fdc49f965782dcf667e727a7111942a9560 --- package/network/services/vpnc-scripts/Makefile | 2 +- package/network/services/vpnc-scripts/files/vpnc-script | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package/network/services/vpnc-scripts/Makefile b/package/network/services/vpnc-scripts/Makefile index 73649026f7..fe239c26ab 100644 --- a/package/network/services/vpnc-scripts/Makefile +++ b/package/network/services/vpnc-scripts/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vpnc-scripts PKG_VERSION:=20151220 -PKG_RELEASE:=1 +PKG_RELEASE:=2 include $(INCLUDE_DIR)/package.mk diff --git a/package/network/services/vpnc-scripts/files/vpnc-script b/package/network/services/vpnc-scripts/files/vpnc-script index 5575c3cdab..685e73d564 100755 --- a/package/network/services/vpnc-scripts/files/vpnc-script +++ b/package/network/services/vpnc-scripts/files/vpnc-script @@ -210,6 +210,9 @@ case "$reason" in reconnect) run_hooks reconnect ;; + attempt-reconnect) + run_hooks attempt-reconnect + ;; *) logger -t openconnect "unknown reason '$reason'. Maybe vpnc-script is out of date" 1>&2 exit 1 -- 2.25.1