mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-01-08 07:40:05 +01:00
Merge two mv commands
This commit is contained in:
parent
2997a7e8b6
commit
4bf4257cf3
@ -533,8 +533,7 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service
|
|||||||
# Get easy-rsa
|
# Get easy-rsa
|
||||||
wget -O ~/EasyRSA-3.0.4.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz
|
wget -O ~/EasyRSA-3.0.4.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz
|
||||||
tar xzf ~/EasyRSA-3.0.4.tgz -C ~/
|
tar xzf ~/EasyRSA-3.0.4.tgz -C ~/
|
||||||
mv ~/EasyRSA-3.0.4/ /etc/openvpn/
|
mv ~/EasyRSA-3.0.4/ /etc/openvpn/easy-rsa/
|
||||||
mv /etc/openvpn/EasyRSA-3.0.4/ /etc/openvpn/easy-rsa/
|
|
||||||
chown -R root:root /etc/openvpn/easy-rsa/
|
chown -R root:root /etc/openvpn/easy-rsa/
|
||||||
rm -f ~/EasyRSA-3.0.4.tgz
|
rm -f ~/EasyRSA-3.0.4.tgz
|
||||||
cd /etc/openvpn/easy-rsa/
|
cd /etc/openvpn/easy-rsa/
|
||||||
|
Loading…
Reference in New Issue
Block a user