Browse Source

vpnc-script: enable reconnect

Based upon upstream package feed commit : 80ab3fdc49f965782dcf667e727a7111942a9560
RISCi_ATOM 4 years ago
parent
commit
4cd8a126e9

+ 1 - 1
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
 

+ 3 - 0
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