1
0
mirror of synced 2024-11-24 05:46:09 +03:00

Compare commits

..

No commits in common. "001b363a079ccc27fc933d523764c3e00c657114" and "d36c435c95ed12df474d823960de840cfd452d4c" have entirely different histories.

View File

@ -151,7 +151,7 @@ confirm_or_abort() {
show_header() { show_header() {
cat <<'EOF' cat <<'EOF'
IKEv2 Script Copyright (c) 2020-2022 Lin Song 18 Jun 2022 IKEv2 Script Copyright (c) 2020-2022 Lin Song 10 Jun 2022
EOF EOF
} }
@ -576,9 +576,6 @@ check_mobike_support() {
if uname -a | grep -qi qnap; then if uname -a | grep -qi qnap; then
mobike_support=0 mobike_support=0
fi fi
if uname -a | grep -qi synology; then
mobike_support=0
fi
if [ "$mobike_support" = "1" ]; then if [ "$mobike_support" = "1" ]; then
bigecho2 "Checking for MOBIKE support... available" bigecho2 "Checking for MOBIKE support... available"
else else
@ -767,7 +764,7 @@ export_p12_file() {
-name "$client_name" -passin "pass:$p12_password" -passout pass: || exit 1 -name "$client_name" -passin "pass:$p12_password" -passout pass: || exit 1
fi fi
/bin/rm -f "$pem_file" /bin/rm -f "$pem_file"
elif [ "$os_ver" = "bookwormsid" ]; then elif [ "$os_type" = "ubuntu" ] && [ "$os_ver" = "bookwormsid" ]; then
ca_crt="$export_dir$client_name.ca.crt" ca_crt="$export_dir$client_name.ca.crt"
client_crt="$export_dir$client_name.client.crt" client_crt="$export_dir$client_name.client.crt"
client_key="$export_dir$client_name.client.key" client_key="$export_dir$client_name.client.key"