From 510b69542ae7adfb8e64c25b41c533118e208952 Mon Sep 17 00:00:00 2001 From: Gabriel Nunes Date: Sat, 11 Mar 2017 19:35:35 -0300 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 3342087..8526fcb 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 || -e /etc/yum.repos.d/amzn-main.repo ]]; then OS=centos GROUPNAME=nobody RCLOCAL='/etc/rc.d/rc.local'