1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/coturn_ynh.git synced 2024-09-03 18:16:32 +02:00

Silence cURL

This commit is contained in:
ericgaspar 2021-03-03 12:50:33 +01:00
parent b67d3a8025
commit 97c3330eb2
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -6,8 +6,8 @@ coturn_config_path="/etc/turnserver.conf"
external_IP_line="external-ip=__IPV4__/__IPV6__"
public_ip4="$(curl ip.yunohost.org)" || true
public_ip6="$(curl ipv6.yunohost.org)" || true
public_ip4="$(curl -s ip.yunohost.org)" || true
public_ip6="$(curl -s ipv6.yunohost.org)" || true
if [ -n "$public_ip4" ] && ynh_validate_ip4 --ip_address="$public_ip4"
then