New Libreswan version
- Support upgrading to Libreswan 4.10.
This commit is contained in:
parent
1fb5c5be8c
commit
1a79a5cfce
@ -69,7 +69,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=4.9
|
swan_ver_cur=4.10
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
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_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)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -52,7 +52,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=4.9
|
swan_ver_cur=4.10
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
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_url="$base_url/upg-v1-amzn-2-swanver"
|
||||||
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -85,7 +85,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=4.9
|
swan_ver_cur=4.10
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
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_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)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
@ -84,7 +84,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
get_swan_ver() {
|
get_swan_ver() {
|
||||||
swan_ver_cur=4.9
|
swan_ver_cur=4.10
|
||||||
base_url="https://github.com/hwdsl2/vpn-extras/releases/download/v1.0.0"
|
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_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)
|
swan_ver_latest=$(wget -t 2 -T 10 -qO- "$swan_ver_url" | head -n 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user