mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Message vpn ok
This commit is contained in:
@@ -9,6 +9,8 @@ if [ -f /currentip ]; then
|
||||
if [[ "$(curl ipecho.net/plain)" = "$(cat /currentip)" ]]; then
|
||||
bashio::log.fatal "VPN is not properly configured. Your ip is exposed. Please fix this, or do not use the vpn alt mode"
|
||||
bashio::exit.nok
|
||||
else
|
||||
bashio::log "VPN is up and running with ip $(curl ipecho.net/plain)"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user