Update IP retrieval method in OpenVPN script

This commit is contained in:
Alexandre
2025-11-23 15:50:13 +00:00
committed by GitHub
parent a8e81b7482
commit ca6ad47646

View File

@@ -15,7 +15,9 @@ if bashio::config.true 'openvpn_enabled'; then
bashio::log.info "----------------------------"
# Get current ip
curl -s ipecho.net/plain > /currentip
( 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
# Function to check for files path
function check_path() {