1
0
Mirror von https://github.com/angristan/openvpn-install.git synchronisiert 2025-07-12 09:24:22 +02:00

Support aliyun like centos

Dieser Commit ist enthalten in:
M Ghayour 2023-10-05 07:47:41 +03:30 committet von GitHub
Ursprung 80feebed16
Commit 080ea6c206
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -65,6 +65,16 @@ function checkOS() {
exit 1
fi
fi
if [[ $ID == "alinux" ]]; then
OS="centos"
if [[ $VERSION_ID -lt 3 ]]; then
echo "⚠️ Your version of Aliyun is not supported."
echo ""
echo "The script only support Aliyun 3 and above."
echo ""
exit 1
fi
fi
if [[ $ID == "ol" ]]; then
OS="oracle"
if [[ ! $VERSION_ID =~ (8) ]]; then