From 7bd6872d43197e056f9f66b901d7a9fbb2ceb964 Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Mon, 14 Oct 2024 21:53:50 -0500 Subject: [PATCH] New Libreswan version - Support upgrading to Libreswan 5.1. --- 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 ded221a..c6d88b9 100755 --- a/extras/vpnupgrade_alpine.sh +++ b/extras/vpnupgrade_alpine.sh @@ -69,7 +69,7 @@ EOF } get_swan_ver() { - swan_ver_cur=5.0 + swan_ver_cur=5.1 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 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_amzn.sh b/extras/vpnupgrade_amzn.sh index eec8969..441abfd 100755 --- a/extras/vpnupgrade_amzn.sh +++ b/extras/vpnupgrade_amzn.sh @@ -52,7 +52,7 @@ EOF } get_swan_ver() { - swan_ver_cur=5.0 + swan_ver_cur=5.1 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 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_centos.sh b/extras/vpnupgrade_centos.sh index e724d65..76d0813 100755 --- a/extras/vpnupgrade_centos.sh +++ b/extras/vpnupgrade_centos.sh @@ -86,7 +86,7 @@ EOF } get_swan_ver() { - swan_ver_cur=5.0 + swan_ver_cur=5.1 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 2 -T 10 -qO- "$swan_ver_url" | head -n 1) diff --git a/extras/vpnupgrade_ubuntu.sh b/extras/vpnupgrade_ubuntu.sh index a053a90..90cff3c 100755 --- a/extras/vpnupgrade_ubuntu.sh +++ b/extras/vpnupgrade_ubuntu.sh @@ -80,7 +80,7 @@ EOF } get_swan_ver() { - swan_ver_cur=5.0 + swan_ver_cur=5.1 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 2 -T 10 -qO- "$swan_ver_url" | head -n 1)