Remove IP address retrieval from WireGuard script

Removed the code that retrieves the current IP address.
This commit is contained in:
Alexandre
2025-11-24 08:18:38 +01:00
committed by GitHub
parent 79ed3e5808
commit 6e7308f4e6

View File

@@ -76,9 +76,4 @@ else
bashio::log.warning "qBittorrent config file not found. Bind the client manually to interface ${interface_name}."
fi
# Get current ip
( curl -fsS --max-time 10 https://ifconfig.co/ip \
|| curl -fsS --max-time 10 https://api64.ipify.org \
|| curl -fsS --max-time 10 https://ipecho.net/plain ) > /currentip
bashio::log.info "WireGuard prepared with interface ${interface_name} using configuration ${wireguard_config##*/}."