Merge c419909f70b7cd6ca92f0c2c9a5fb1a20fa076a0 into e2d4990ae194e37fd5162168a8aac5e2d89e0e8d

This commit is contained in:
Jackie Lee 2025-01-25 17:15:21 -05:00 committed by GitHub
commit d06235618d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1218,6 +1218,7 @@ function revokeClient() {
find /home/ -maxdepth 2 -name "$CLIENT.ovpn" -delete
rm -f "/root/$CLIENT.ovpn"
sed -i "/^$CLIENT,.*/d" /etc/openvpn/ipp.txt
sed -i "/CN=$CLIENT/d" /etc/openvpn/easy-rsa/pki/index.txt
cp /etc/openvpn/easy-rsa/pki/index.txt{,.bk}
echo ""