mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-05-09 02:08:23 +02:00
Merge 080ea6c206e341b8c824eda9983cea252b4605d3 into e2d4990ae194e37fd5162168a8aac5e2d89e0e8d
This commit is contained in:
commit
49577398b2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user