mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
fixed download location
fixed easy-rsa download location Conflicts: auto_install/install.sh
This commit is contained in:
parent
98d63b7bd0
commit
6e3ad10a80
1 changed files with 2 additions and 6 deletions
|
@ -708,12 +708,8 @@ confOpenVPN() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get the PiVPN easy-rsa
|
# Get the PiVPN easy-rsa
|
||||||
# BN. wget command does not work and throws an error. "/tmp/EasyRSA-3.0.1-pivpn1/: Is a directory"
|
wget -q -O - "${easyrsaRel}" | $SUDO tar xz -C /etc/openvpn && $SUDO mv /etc/openvpn/EasyRSA-${easyrsaVer} /etc/openvpn/easy-rsa
|
||||||
# wget -q -O "/tmp/EasyRSA-${easyrsaVer}" "${easyrsaRel}"
|
# fix ownership
|
||||||
# tar xzf /tmp/EasyRSA-${easyrsaVer} -C /tmp
|
|
||||||
wget -q -O "/tmp/EasyRSA-${easyrsaVer}.tgz" "${easyrsaRel}"
|
|
||||||
tar xzf /tmp/EasyRSA-${easyrsaVer}.tgz -C /tmp
|
|
||||||
$SUDO mv /tmp/EasyRSA-${easyrsaVer}/ /etc/openvpn/easy-rsa/
|
|
||||||
$SUDO chown -R root:root /etc/openvpn/easy-rsa
|
$SUDO chown -R root:root /etc/openvpn/easy-rsa
|
||||||
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
$SUDO mkdir /etc/openvpn/easy-rsa/pki
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue