mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-12-16 08:57:03 +01:00
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:
@@ -1083,11 +1083,6 @@ function installOpenVPN() {
|
|||||||
|
|
||||||
# Create the server directory (OpenVPN 2.4+ directory structure)
|
# Create the server directory (OpenVPN 2.4+ directory structure)
|
||||||
run_cmd_fatal "Creating server directory" mkdir -p /etc/openvpn/server
|
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
|
fi
|
||||||
|
|
||||||
# Determine which user/group OpenVPN should run as
|
# Determine which user/group OpenVPN should run as
|
||||||
|
|||||||
Reference in New Issue
Block a user