From be25c256b2927c76039f20237e921c969a044086 Mon Sep 17 00:00:00 2001 From: Koushik Roy Date: Mon, 24 Oct 2016 13:25:09 -0700 Subject: [PATCH] Adding Amazon Linux support --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 7ca4bf2..5658bc9 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -32,7 +32,7 @@ if [[ -e /etc/debian_version ]]; then OS=debian GROUPNAME=nogroup RCLOCAL='/etc/rc.local' -elif [[ -e /etc/centos-release || -e /etc/redhat-release ]]; then +elif [[ -e /etc/centos-release || -e /etc/redhat-release || -z $(cut -d= /etc/os-release | grep rhel-fedora) ]]; then OS=centos GROUPNAME=nobody RCLOCAL='/etc/rc.d/rc.local'