Update run

This commit is contained in:
Alexandre authored and GitHub committed 2024-01-17 10:55:32 +01:00
1 parent 699bf3c5f3
commit f95a8de55f
1 file changed
+1 -1
+1 -1
View File
@@ -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