1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-23 21:46:08 +03:00

Adding Amazon Linux support

This commit is contained in:
Koushik Roy 2016-10-24 13:25:09 -07:00
parent b6f0c42b5b
commit be25c256b2

View File

@ -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'