Skip to content

Commit

Permalink
share - add log on removing option
Browse files Browse the repository at this point in the history
  • Loading branch information
lmagyar committed Feb 22, 2025
1 parent b3fd8ed commit c6d8a72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tailscale/rootfs/etc/s6-overlay/scripts/stage2_hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,15 @@ if bashio::var.has_value "${proxy_and_funnel_port}"; then
fi
# Remove previous options
if bashio::var.has_value "${proxy}"; then
bashio::log.info 'Removing deprecated proxy option'
bashio::addon.option 'proxy'
fi
if bashio::var.has_value "${funnel}"; then
bashio::log.info 'Removing deprecated funnel option'
bashio::addon.option 'funnel'
fi
if bashio::var.has_value "${proxy_and_funnel_port}"; then
bashio::log.info 'Removing deprecated proxy_and_funnel_port option'
bashio::addon.option 'proxy_and_funnel_port'
fi

Expand Down

0 comments on commit c6d8a72

Please sign in to comment.