mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] use ip6.yunohost.org, more reliable than ipv6.yunohost.org
This commit is contained in:
parent
ec912d5074
commit
f1d5c1fe92
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue