Merge branch 'master' into patch-7

This commit is contained in:
Henry N
2020-04-10 12:22:56 +02:00
committed by GitHub

View File

@@ -1080,7 +1080,7 @@ function revokeClient () {
chmod 644 /etc/openvpn/crl.pem
find /home/ -maxdepth 2 -name "$CLIENT.ovpn" -delete
rm -f "/root/$CLIENT.ovpn"
sed -i "s|^$CLIENT,.*||" /etc/openvpn/ipp.txt
sed -i "/^$CLIENT,.*/d" /etc/openvpn/ipp.txt
echo ""
echo "Certificate for client $CLIENT revoked."