mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-21 00:01:50 +02:00
Remove IP address retrieval from WireGuard script
Removed the code that retrieves the current IP address.
This commit is contained in:
@@ -76,9 +76,4 @@ else
|
|||||||
bashio::log.warning "qBittorrent config file not found. Bind the client manually to interface ${interface_name}."
|
bashio::log.warning "qBittorrent config file not found. Bind the client manually to interface ${interface_name}."
|
||||||
fi
|
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##*/}."
|
bashio::log.info "WireGuard prepared with interface ${interface_name} using configuration ${wireguard_config##*/}."
|
||||||
|
|||||||
Reference in New Issue
Block a user