From 6e7308f4e6abac3c81f9a38dca3f97435b99f1cd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 24 Nov 2025 08:18:38 +0100 Subject: [PATCH] Remove IP address retrieval from WireGuard script Removed the code that retrieves the current IP address. --- qbittorrent/rootfs/etc/cont-init.d/94-wireguard.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/94-wireguard.sh b/qbittorrent/rootfs/etc/cont-init.d/94-wireguard.sh index 13f5a4215..056f704ba 100755 --- a/qbittorrent/rootfs/etc/cont-init.d/94-wireguard.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/94-wireguard.sh @@ -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##*/}."