mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 16:34:22 +01:00
Update IP retrieval method in OpenVPN script
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user