vpnc-script: enable reconnect
authorRISCi_ATOM <bob@bobcall.me>
Mon, 30 Mar 2020 04:36:50 +0000 (00:36 -0400)
committerRISCi_ATOM <bob@bobcall.me>
Mon, 30 Mar 2020 04:36:50 +0000 (00:36 -0400)
Based upon upstream package feed commit : 80ab3fdc49f965782dcf667e727a7111942a9560

package/network/services/vpnc-scripts/Makefile
package/network/services/vpnc-scripts/files/vpnc-script

index 73649026f76a09f1a82c93fc06cd643cc1ea9848..fe239c26abd114484cd52aa71c0f2e1d7ae0424c 100644 (file)
@@ -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
 
index 5575c3cdab74128321b10c798285cff96141ab05..685e73d5645855100e5cadf97711935d7c9b21fd 100755 (executable)
@@ -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