diff --git a/auto_install/install.sh b/auto_install/install.sh index fbbcb7b..477242c 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -707,7 +707,7 @@ confOpenVPN() { fi # Get the PiVPN easy-rsa - $SUDO mkdir -p /etc/openvpn/easy-rsa/pki && wget -q -O - "${easyrsaRel}" | $SUDO tar xz -C /etc/openvpn/easy-rsa + wget -q -O - "${easyrsaRel}" | $SUDO tar xz -C /etc/openvpn && $SUDO mv /etc/openvpn/EasyRSA-${easyrsaVer} /etc/openvpn/easy-rsa # fix ownership $SUDO chown -R root:root /etc/openvpn/easy-rsa