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

/etc/os-release used in Amazon Linux AMI

This commit is contained in:
Oleg Ferens 2018-08-14 00:01:48 +03:00
parent cc81838501
commit 025dccb320

View File

@ -26,7 +26,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/os-release ]]; then
OS=centos
GROUPNAME=nobody
RCLOCAL='/etc/rc.d/rc.local'