mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-12 17:34:22 +02:00
Create /etc/openvpn/client
openvpn package from openvpn.net repository doesn't have `server` and `client` directories
This commit is contained in:
parent
a9c60875d1
commit
fc7175a544
@ -677,7 +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
|
mkdir -p /etc/openvpn/server /etc/openvpn/client
|
||||||
# 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