Update run

This commit is contained in:
Alexandre
2022-06-15 18:36:22 +02:00
committed by GitHub
parent 7275e9e540
commit ecb85ce7e3

View File

@@ -25,7 +25,8 @@ if [ -f /currentip ]; then
COUNTRY=$(curl -s https://ipinfo.io/$(cat /vpnip) | grep country -i -m 1 | cut -d ':' -f 2 |xargs | awk 'gsub(/,$/,x)' || true)
# Inform by message
bashio::log.info "VPN is up and running with ip $(curl -s ipecho.net/plain), based in country : $COUNTRY"
bashio::log.info "VPN is up and running with ip $(cat /vpnip), based in country : $COUNTRY"
rm /vpnip
rm /currentip