mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update run
This commit is contained in:
@@ -13,7 +13,7 @@ if [ -f /currentip ]; then
|
||||
exec nginx || nginx -s reload & \
|
||||
while true; do
|
||||
# Get vpn ip
|
||||
if bashio::config.true 'openvpn_alt_mode'; then
|
||||
if ! bashio::config.true 'wireguard_enabled' && bashio::config.true 'openvpn_alt_mode'; then
|
||||
curl -s ipecho.net/plain > /vpnip
|
||||
else
|
||||
curl -s ipecho.net/plain --interface tun0 > /vpnip
|
||||
|
||||
Reference in New Issue
Block a user