mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Workaround for the bad people who are not using IPv6 yet
This commit is contained in:
parent
229c1e6dcd
commit
5d5976d31e
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ cd /usr/share/yunohost/templates/dnsmasq
|
|||
ip=$(curl -s -4 https://ip.yunohost.org 2>/dev/null || echo '0.0.0.0')
|
||||
|
||||
# Get IPv6 IP address
|
||||
ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null)
|
||||
ipv6=$(curl -s -6 http://ip6.yunohost.org 2>/dev/null || echo '')
|
||||
|
||||
sudo mkdir -p /etc/dnsmasq.d
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue