1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-24 05:56:08 +03:00

added or to line 36 to fix aws linux ami setup

This commit is contained in:
Jim Ford 2017-09-27 14:08:01 -04:00 committed by GitHub
parent 0397827abe
commit 20bec82434

View File

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