Add support for Circle Linux
Signed-off-by: bellaZhang <bella@cclinux.org>
This commit is contained in:
parent
d4ae10ec25
commit
b4cead9266
@ -1,7 +1,7 @@
|
|||||||
**New: [wireguard-install](https://github.com/Nyr/wireguard-install) is also available.**
|
**New: [wireguard-install](https://github.com/Nyr/wireguard-install) is also available.**
|
||||||
|
|
||||||
## openvpn-install
|
## openvpn-install
|
||||||
OpenVPN [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora.
|
OpenVPN [road warrior](http://en.wikipedia.org/wiki/Road_warrior_%28computing%29) installer for Ubuntu, Debian, AlmaLinux, Circle Linux, Rocky Linux, CentOS and Fedora.
|
||||||
|
|
||||||
This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
|
This script will let you set up your own VPN server in no more than a minute, even if you haven't used OpenVPN before. It has been designed to be as unobtrusive and universal as possible.
|
||||||
|
|
||||||
|
|||||||
@ -30,9 +30,9 @@ elif [[ -e /etc/debian_version ]]; then
|
|||||||
os="debian"
|
os="debian"
|
||||||
os_version=$(grep -oE '[0-9]+' /etc/debian_version | head -1)
|
os_version=$(grep -oE '[0-9]+' /etc/debian_version | head -1)
|
||||||
group_name="nogroup"
|
group_name="nogroup"
|
||||||
elif [[ -e /etc/almalinux-release || -e /etc/rocky-release || -e /etc/centos-release ]]; then
|
elif [[ -e /etc/almalinux-release || -e /etc/circle-release || -e /etc/rocky-release || -e /etc/centos-release ]]; then
|
||||||
os="centos"
|
os="centos"
|
||||||
os_version=$(grep -shoE '[0-9]+' /etc/almalinux-release /etc/rocky-release /etc/centos-release | head -1)
|
os_version=$(grep -shoE '[0-9]+' /etc/almalinux-release /etc/circle-release /etc/rocky-release /etc/centos-release | head -1)
|
||||||
group_name="nobody"
|
group_name="nobody"
|
||||||
elif [[ -e /etc/fedora-release ]]; then
|
elif [[ -e /etc/fedora-release ]]; then
|
||||||
os="fedora"
|
os="fedora"
|
||||||
@ -40,7 +40,7 @@ elif [[ -e /etc/fedora-release ]]; then
|
|||||||
group_name="nobody"
|
group_name="nobody"
|
||||||
else
|
else
|
||||||
echo "This installer seems to be running on an unsupported distribution.
|
echo "This installer seems to be running on an unsupported distribution.
|
||||||
Supported distros are Ubuntu, Debian, AlmaLinux, Rocky Linux, CentOS and Fedora."
|
Supported distros are Ubuntu, Debian, AlmaLinux, Circle Linux, Rocky Linux, CentOS and Fedora."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user