From 34d9ad06d59f6ebc9d2f32ae38d4447c0ed730dd Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 25 May 2022 23:59:21 -0500 Subject: [PATCH] New Libreswan version - Support upgrading to Libreswan 4.7. --- extras/vpnupgrade_alpine.sh | 2 +- extras/vpnupgrade_amzn.sh | 2 +- extras/vpnupgrade_centos.sh | 2 +- extras/vpnupgrade_ubuntu.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/extras/vpnupgrade_alpine.sh b/extras/vpnupgrade_alpine.sh index a352a9a..d7adb49 100755 --- a/extras/vpnupgrade_alpine.sh +++ b/extras/vpnupgrade_alpine.sh @@ -69,7 +69,7 @@ EOF } get_swan_ver() { - swan_ver_cur=4.6 + swan_ver_cur=4.7 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 3 -T 15 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_amzn.sh b/extras/vpnupgrade_amzn.sh index e08df01..1b83f3c 100755 --- a/extras/vpnupgrade_amzn.sh +++ b/extras/vpnupgrade_amzn.sh @@ -52,7 +52,7 @@ EOF } get_swan_ver() { - swan_ver_cur=4.6 + swan_ver_cur=4.7 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/upg-v1-amzn-2-swanver" swan_ver_latest=$(wget -t 3 -T 15 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_centos.sh b/extras/vpnupgrade_centos.sh index 3432758..9c79933 100755 --- a/extras/vpnupgrade_centos.sh +++ b/extras/vpnupgrade_centos.sh @@ -78,7 +78,7 @@ EOF } get_swan_ver() { - swan_ver_cur=4.6 + swan_ver_cur=4.7 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 3 -T 15 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_ubuntu.sh b/extras/vpnupgrade_ubuntu.sh index 3474865..c1fa1e2 100755 --- a/extras/vpnupgrade_ubuntu.sh +++ b/extras/vpnupgrade_ubuntu.sh @@ -75,7 +75,7 @@ EOF } get_swan_ver() { - swan_ver_cur=4.6 + swan_ver_cur=4.7 base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0" swan_ver_url="$base_url/upg-v1-$os_type-$os_ver-swanver" swan_ver_latest=$(wget -t 3 -T 15 -qO- "$swan_ver_url" | head -n 1)