mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-05-09 10:18:22 +02:00
Merge a33f1b631f50e0b339e7d866b153ef361dc1f7f0 into 7e32f6ae8373fe66e657cb693518c45768d0ea6e
This commit is contained in:
commit
403dced87c
@ -65,6 +65,16 @@ function checkOS() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if [[ $ID == "tencentos" ]]; then
|
||||||
|
OS="centos"
|
||||||
|
if [[ ${VERSION_ID%.*} -lt 3 ]]; then
|
||||||
|
echo "⚠️ Your version of CentOS is not supported."
|
||||||
|
echo ""
|
||||||
|
echo "The script only support CentOS 7 and CentOS 8."
|
||||||
|
echo ""
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
if [[ $ID == "ol" ]]; then
|
if [[ $ID == "ol" ]]; then
|
||||||
OS="oracle"
|
OS="oracle"
|
||||||
if [[ ! $VERSION_ID =~ (8) ]]; then
|
if [[ ! $VERSION_ID =~ (8) ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user