1
0
espelhamento de https://github.com/angristan/openvpn-install.git sincronizado 2025-07-12 09:24:22 +02:00
Esse commit está contido em:
angristan 2018-09-23 16:30:48 +02:00
commit 5a67d3b3e7

Ver arquivo

@ -1056,7 +1056,7 @@ function removeOpenVPN () {
PORT=$(grep '^port ' /etc/openvpn/server.conf | cut -d " " -f 2)
# Stop OpenVPN
if [[ "$OS" = (fedora|arch) ]]; then
if [[ "$OS" =~ (fedora|arch) ]]; then
systemctl disable openvpn-server@server
systemctl stop openvpn-server@server
elif [[ "$OS" == 'debian' ]] && [[ "$VERSION_ID" == "16.04" ]]; then