fixed download location

fixed easy-rsa download location
This commit is contained in:
Bastiaan Nelissen 2016-12-08 20:09:30 +01:00 committed by GitHub
parent fc14664401
commit 1f0819efeb

View file

@ -707,7 +707,7 @@ confOpenVPN() {
fi fi
# Get the PiVPN easy-rsa # 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 # fix ownership
$SUDO chown -R root:root /etc/openvpn/easy-rsa $SUDO chown -R root:root /etc/openvpn/easy-rsa