From bbdb9b13f9a964966f51182e4a3e720d132dc4af Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Wed, 29 Dec 2021 18:48:47 -0600 Subject: [PATCH] Update IKEv2 script - Add Alpine Linux 3.15 --- extras/ikev2setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extras/ikev2setup.sh b/extras/ikev2setup.sh index 804fdd4..ea06b39 100755 --- a/extras/ikev2setup.sh +++ b/extras/ikev2setup.sh @@ -82,8 +82,8 @@ EOF esac if [ "$os_type" = "alpine" ]; then os_ver=$(. /etc/os-release && printf '%s' "$VERSION_ID" | cut -d '.' -f 1,2) - if [ "$os_ver" != "3.14" ]; then - exiterr "This script only supports Alpine Linux 3.14." + if [ "$os_ver" != "3.14" ] && [ "$os_ver" != "3.15" ]; then + exiterr "This script only supports Alpine Linux 3.14/3.15." fi else os_ver=$(sed 's/\..*//' /etc/debian_version | tr -dc 'A-Za-z0-9') @@ -153,7 +153,7 @@ check_container() { show_header() { cat <<'EOF' -IKEv2 Script Copyright (c) 2020-2021 Lin Song 7 Nov 2021 +IKEv2 Script Copyright (c) 2020-2021 Lin Song 29 Dec 2021 EOF }