From f681c0bd3426cc0f825345d483a283da537d34d2 Mon Sep 17 00:00:00 2001 From: Angristan Date: Thu, 11 Jan 2018 11:08:35 +0100 Subject: [PATCH] Add Amazon Linux support Fixes https://github.com/Angristan/OpenVPN-install/issues/128 --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index fc9932f..ec21f40 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -40,7 +40,7 @@ if [[ -e /etc/debian_version ]]; then exit 4 fi fi -elif [[ -e /etc/centos-release || -e /etc/redhat-release && ! -e /etc/fedora-release ]]; then +elif [[ -e /etc/centos-release || -e /etc/redhat-release || -e /etc/system-release && ! -e /etc/fedora-release ]]; then OS=centos IPTABLES='/etc/iptables/iptables.rules' SYSCTL='/etc/sysctl.conf'