Update mv easy-rsa command

Maybe fix #420
This commit is contained in:
Stanislas 2019-05-12 20:59:15 +02:00 committed by GitHub
parent 066b48bd84
commit a0685af1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -623,8 +623,7 @@ function installOpenVPN () {
local version="3.0.6"
wget -O ~/EasyRSA-unix-v${version}.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v${version}/EasyRSA-unix-v${version}.tgz
tar xzf ~/EasyRSA-unix-v${version}.tgz -C ~/
mv ~/EasyRSA-v${version}/ /etc/openvpn/
mv /etc/openvpn/EasyRSA-v${version}/ /etc/openvpn/easy-rsa/
mv ~/EasyRSA-v${version} /etc/openvpn/easy-rsa
chown -R root:root /etc/openvpn/easy-rsa/
rm -f ~/EasyRSA-unix-v${version}.tgz