Message vpn ok

This commit is contained in:
Alexandre
2022-05-04 18:39:52 +02:00
committed by GitHub
parent ceeac36164
commit 773264b762

View File

@@ -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