mirror of
https://github.com/hwdsl2/setup-ipsec-vpn.git
synced 2026-05-17 08:05:45 +03:00
New Libreswan version
- Use new Libreswan version 5.1.
This commit is contained in:
@@ -240,7 +240,7 @@ get_helper_scripts() {
|
||||
}
|
||||
|
||||
get_swan_ver() {
|
||||
SWAN_VER=5.0
|
||||
SWAN_VER=5.1
|
||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||
|
||||
@@ -258,7 +258,7 @@ get_helper_scripts() {
|
||||
}
|
||||
|
||||
get_swan_ver() {
|
||||
SWAN_VER=5.0
|
||||
SWAN_VER=5.1
|
||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||
swan_ver_url="$base_url/v1-amzn-2-swanver"
|
||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||
|
||||
@@ -361,7 +361,7 @@ get_helper_scripts() {
|
||||
}
|
||||
|
||||
get_swan_ver() {
|
||||
SWAN_VER=5.0
|
||||
SWAN_VER=5.1
|
||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||
|
||||
@@ -313,7 +313,7 @@ get_helper_scripts() {
|
||||
}
|
||||
|
||||
get_swan_ver() {
|
||||
SWAN_VER=5.0
|
||||
SWAN_VER=5.1
|
||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
||||
swan_ver_url="$base_url/v1-$os_type-$os_ver-swanver"
|
||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||
|
||||
Reference in New Issue
Block a user