From b028661f6fec4528fe6003367c8898b7e8994b3f Mon Sep 17 00:00:00 2001 From: hwdsl2 Date: Sat, 16 May 2020 22:11:01 -0500 Subject: [PATCH] Update IKEv2 script - Raspberry Pi (Raspbian) kernels do not support MOBIKE --- extras/ikev2setup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/ikev2setup.sh b/extras/ikev2setup.sh index a080c25..e8ca581 100644 --- a/extras/ikev2setup.sh +++ b/extras/ikev2setup.sh @@ -125,6 +125,10 @@ case "$swan_ver" in ;; esac +if uname -m | grep -qi '^arm'; then + mobike_support=0 +fi + if [ "$mobike_support" = "1" ]; then os_type="$(lsb_release -si 2>/dev/null)" if [ -z "$os_type" ]; then