From 14991bbadb4cfd07c9972931b407d6a5b309c43e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Filiepk?= Date: Sun, 14 Mar 2021 16:25:25 +0100 Subject: [PATCH] Support for Oracle Linux 8. --- openvpn-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 273b6b5..cc5da85 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -68,10 +68,10 @@ function checkOS() { if [[ $ID == "oracle" ]]; then OS="oracle" if [[ ! $VERSION_ID =~ (8) ]]; then - echo "Your version of Oracle Linux is not supported." - echo "" - echo "The script only support Oracle Linux 8." - exit 1 + echo "Your version of Oracle Linux is not supported." + echo "" + echo "The script only support Oracle Linux 8." + exit 1 fi fi if [[ $ID == "amzn" ]]; then @@ -921,7 +921,7 @@ verb 3" >>/etc/openvpn/server.conf fi # Finally, restart and enable OpenVPN - if [[ $OS == 'arch' || $OS == 'fedora' || $OS == 'centos'|| $OS == 'oracle' ]]; then + if [[ $OS == 'arch' || $OS == 'fedora' || $OS == 'centos' || $OS == 'oracle' ]]; then # Don't modify package-provided service cp /usr/lib/systemd/system/openvpn-server@.service /etc/systemd/system/openvpn-server@.service