Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Nov 30, 2023
1 parent ce8530f commit 9057f36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/s6-overlay/scripts/80-tropoalert-init
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
source /scripts/common
s6wrap=(s6wrap --quiet --timestamps --prepend="$(basename "$0")" --args)

if ! chk_enabled "$TROPOALERT"; then
if ! chk_enabled "${TROPOALERT:-enabled}"; then
"${s6wrap[@]}" echo "[INFO] TropoAlert is not enabled; if you want to notify when ships are received at long distance, then start container with TROPOALERT=true"
else
"${s6wrap[@]}" echo "[INFO] TropoAlert enabled. Checking for Tropo every ${TROPOALERT_INTERVAL:-10m}. Minimum notification distance: ${TROPO_MINDIST:-100}nm."
Expand Down

0 comments on commit 9057f36

Please sign in to comment.