mirror of
https://github.com/angristan/openvpn-install.git
synced 2024-12-04 22:45:32 +01:00
Merge branch 'master' into patch-7
This commit is contained in:
commit
0bf522ee2f
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user