From 1564232fbd7f6159147544f3111d3ecaaac5eab5 Mon Sep 17 00:00:00 2001 From: randomshell <43271778+randomshell@users.noreply.github.com> Date: Sat, 2 May 2020 00:12:46 +0000 Subject: [PATCH] Remove obsolete Ubuntu case Ubuntu uses systemd --- openvpn-install.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index af52d87..56e202c 100755 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -931,11 +931,6 @@ verb 3" >>/etc/openvpn/server/server.conf systemctl daemon-reload systemctl enable openvpn-server@server systemctl restart openvpn-server@server - elif [[ $OS == "ubuntu" ]] && [[ $VERSION_ID == "16.04" ]]; then - # On Ubuntu 16.04, we use the package from the OpenVPN repo - # This package uses a sysvinit service - systemctl enable openvpn - systemctl start openvpn else # Don't modify package-provided service cp /lib/systemd/system/openvpn\@.service /etc/systemd/system/openvpn\@.service