Delete old easy-rsa remove (#655)

It isn't packaged anymore with openvpn in the supported distros

Co-authored-by: Stanislas Lange <git@slange.me>
This commit is contained in:
Cezar Lungu
2025-12-13 14:11:17 +00:00
committed by GitHub
parent 991c403d78
commit 99c74e5af4

View File

@@ -1083,11 +1083,6 @@ function installOpenVPN() {
# Create the server directory (OpenVPN 2.4+ directory structure)
run_cmd_fatal "Creating server directory" mkdir -p /etc/openvpn/server
# An old version of easy-rsa was available by default in some openvpn packages
if [[ -d /etc/openvpn/server/easy-rsa/ ]]; then
run_cmd "Removing old Easy-RSA" rm -rf /etc/openvpn/server/easy-rsa/
fi
fi
# Determine which user/group OpenVPN should run as