Compare commits
2 Commits
d36c435c95
...
001b363a07
Author | SHA1 | Date | |
---|---|---|---|
|
001b363a07 | ||
|
8cf4cc3825 |
@ -151,7 +151,7 @@ confirm_or_abort() {
|
|||||||
show_header() {
|
show_header() {
|
||||||
cat <<'EOF'
|
cat <<'EOF'
|
||||||
|
|
||||||
IKEv2 Script Copyright (c) 2020-2022 Lin Song 10 Jun 2022
|
IKEv2 Script Copyright (c) 2020-2022 Lin Song 18 Jun 2022
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
@ -576,6 +576,9 @@ 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
|
||||||
@ -764,7 +767,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_type" = "ubuntu" ] && [ "$os_ver" = "bookwormsid" ]; then
|
elif [ "$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"
|
||||||
|
Loading…
Reference in New Issue
Block a user