Fix upgrade with DNS

This commit is contained in:
Julien Vaubourg
2015-10-11 21:08:55 +02:00
parent edddd32396
commit 3f6f482059

View File

@@ -29,6 +29,13 @@ sudo rm -r "${tmpdir}/"
sudo yunohost app setting vpnclient gitcommit -v "${gitcommit}"
# Changes
if [ -z "$(ynh_setting vpnclient dns0)" ]; then
sudo yunohost app setting vpnclient dns0 -v 89.234.141.66
sudo yunohost app setting vpnclient dns1 -v 2001:913::8
fi
sudo systemctl start ynh-vpnclient
exit 0