From f1d5c1fe92fa4b55e8fc0b05297cee1161ffa2dd Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Tue, 8 Mar 2016 18:47:48 +0100 Subject: [PATCH] [fix] use ip6.yunohost.org, more reliable than ipv6.yunohost.org --- data/hooks/conf_regen/43-dnsmasq | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/hooks/conf_regen/43-dnsmasq b/data/hooks/conf_regen/43-dnsmasq index 7fb45874..78402cdc 100644 --- a/data/hooks/conf_regen/43-dnsmasq +++ b/data/hooks/conf_regen/43-dnsmasq @@ -16,10 +16,10 @@ function safe_copy () { cd /usr/share/yunohost/templates/dnsmasq # Get IPv4 address -ip=$(curl -4 https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0') +ip=$(curl -s -4 https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0') # Get IPv6 IP address -ipv6=$(curl -6 http://ipv6.yunohost.org 2>/dev/null) +ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null) sudo mkdir -p /etc/dnsmasq.d