mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-12 17:34:22 +02:00
Create /etc/openvpn/server directory
This commit is contained in:
parent
f6a1c7e598
commit
2f9812308c
@ -677,6 +677,7 @@ function installOpenVPN() {
|
|||||||
# Install required dependencies and upgrade the system
|
# Install required dependencies and upgrade the system
|
||||||
pacman --needed --noconfirm -Syu openvpn iptables openssl wget ca-certificates curl
|
pacman --needed --noconfirm -Syu openvpn iptables openssl wget ca-certificates curl
|
||||||
fi
|
fi
|
||||||
|
mkdir -p /etc/openvpn/server
|
||||||
# An old version of easy-rsa was available by default in some openvpn packages
|
# An old version of easy-rsa was available by default in some openvpn packages
|
||||||
if [[ -d /etc/openvpn/easy-rsa/ ]]; then
|
if [[ -d /etc/openvpn/easy-rsa/ ]]; then
|
||||||
rm -rf /etc/openvpn/easy-rsa/
|
rm -rf /etc/openvpn/easy-rsa/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user