|
@@ -29,9 +29,9 @@ export VPNCLIENT_UPGRADE=1
|
|
|
sudo bash /etc/yunohost/apps/vpnclient/scripts/remove &> /dev/null
|
|
|
bash ./install "${domain}" "${path}" "${server_name}"
|
|
|
|
|
|
+sudo rmdir /etc/openvpn/keys/
|
|
|
+sudo cp -a "${rollbackdir}/keys/" /etc/openvpn/keys/
|
|
|
sudo cp -a "${rollbackdir}/settings.yml" /etc/yunohost/apps/vpnclient/
|
|
|
-sudo cp -a ${rollbackdir}/keys/* /etc/openvpn/keys/
|
|
|
-ls /tmp/*
|
|
|
sudo cp -a "${rollbackdir}/client.conf.tpl" /etc/openvpn/ 2> /dev/null
|
|
|
|
|
|
# Changes
|