Skip to content

Commit

Permalink
don't update tar1090 when it's disabled
Browse files Browse the repository at this point in the history
don't get range outline when tar1090 is disabled

remove non-op startup script
  • Loading branch information
wiedehopf committed May 1, 2024
1 parent 5e2d024 commit 20a8d5a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion rootfs/etc/s6-overlay/startup.d/02-tar1090-update
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

source /scripts/common

if ! chk_enabled "${UPDATE_TAR1090}"; then
if ! chk_enabled "${UPDATE_TAR1090}" || chk_enabled "${TAR1090_DISABLE}"; then
exit 0
fi

Expand Down
4 changes: 4 additions & 0 deletions rootfs/etc/s6-overlay/startup.d/06-range-outline
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

source /scripts/common

if chk_enabled "${TAR1090_DISABLE}"; then
exit 0
fi

# https://github.com/wiedehopf/tar1090#heywhatsthatcom-range-outline

if [ -n "${HEYWHATSTHAT_PANORAMA_ID}" ]; then
Expand Down
8 changes: 0 additions & 8 deletions rootfs/etc/s6-overlay/startup.d/08-graphs1090-down

This file was deleted.

0 comments on commit 20a8d5a

Please sign in to comment.