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:
parent
b6f0c42b5b
commit
be25c256b2
@ -32,7 +32,7 @@ if [[ -e /etc/debian_version ]]; then
|
|||||||
OS=debian
|
OS=debian
|
||||||
GROUPNAME=nogroup
|
GROUPNAME=nogroup
|
||||||
RCLOCAL='/etc/rc.local'
|
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
|
OS=centos
|
||||||
GROUPNAME=nobody
|
GROUPNAME=nobody
|
||||||
RCLOCAL='/etc/rc.d/rc.local'
|
RCLOCAL='/etc/rc.d/rc.local'
|
||||||
|
Loading…
Reference in New Issue
Block a user