mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +01:00
parent
501f8a9b36
commit
febdc04340
@ -64,6 +64,7 @@ The script is made to work on these OS and architectures :
|
|||||||
- **Ubuntu 16.04 LTS** (i386, amd64)
|
- **Ubuntu 16.04 LTS** (i386, amd64)
|
||||||
- **Ubuntu 16.10** (i386, amd64, armhf, arm64)
|
- **Ubuntu 16.10** (i386, amd64, armhf, arm64)
|
||||||
- **Ubuntu 17.04** (i386, amd64, armhf, arm64)
|
- **Ubuntu 17.04** (i386, amd64, armhf, arm64)
|
||||||
|
- **Ubuntu 17.10** (i386, amd64, armhf, arm64)
|
||||||
- **Fedora 25** (amd64)
|
- **Fedora 25** (amd64)
|
||||||
- **Fedora 26** (amd64)
|
- **Fedora 26** (amd64)
|
||||||
- **Fedora 27** (amd64)
|
- **Fedora 27** (amd64)
|
||||||
|
@ -25,7 +25,7 @@ if [[ -e /etc/debian_version ]]; then
|
|||||||
VERSION_ID=$(cat /etc/os-release | grep "VERSION_ID")
|
VERSION_ID=$(cat /etc/os-release | grep "VERSION_ID")
|
||||||
IPTABLES='/etc/iptables/iptables.rules'
|
IPTABLES='/etc/iptables/iptables.rules'
|
||||||
SYSCTL='/etc/sysctl.conf'
|
SYSCTL='/etc/sysctl.conf'
|
||||||
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="9"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="12.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.10"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="17.04"' ]]; then
|
if [[ "$VERSION_ID" != 'VERSION_ID="7"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="8"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="9"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="12.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="14.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="16.10"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="17.04"' ]] && [[ "$VERSION_ID" != 'VERSION_ID="17.10"' ]]; then
|
||||||
echo "Your version of Debian/Ubuntu is not supported."
|
echo "Your version of Debian/Ubuntu is not supported."
|
||||||
echo "I can't install a recent version of OpenVPN on your system."
|
echo "I can't install a recent version of OpenVPN on your system."
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user