mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-04 16:21:35 +01:00
Write normal ip
This commit is contained in:
@@ -64,6 +64,9 @@ if bashio::config.true 'openvpn_enabled'; then
|
||||
sed -i '/route-nopull/d' /etc/openvpn/config.ovpn
|
||||
fi
|
||||
|
||||
# Get current ip
|
||||
echo "$(curl ipecho.net/plain)" > /normalip
|
||||
|
||||
# Exit
|
||||
exit 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user