diff --git a/README.md b/README.md index fafee9b..a42d4e5 100644 --- a/README.md +++ b/README.md @@ -268,6 +268,7 @@ All of the variables below are optional. | `TAR1090_IMAGE_CONFIG_TEXT` | Text to display for the config link | `null` | | `TAR1090_DISABLE` | Set to `true` to disable the web server and all websites (including the map, `graphs1090`, `heatmap`, `pTracks`, etc.) | Unset | | `READSB_ENABLE_HEATMAP` | Set to `true` or leave unset to enable the HeatMap function available at `http://myip/?Heatmap`; set to `false` to disable the HeapMap function | `true` (enabled) | +| `TAR1090_ENABLE_ACTUALRANGE` | Set to `true` or leave unset to enable the outline of the actual range of your station on the map; set to `false` to disable the this outline | `true` (enabled) | - For documentation on the aircraft.json format see this page: - TAR1090_ENABLE_AC_DB causes readsb to load the tar1090 database as a csv file from this repository: diff --git a/rootfs/etc/s6-overlay/scripts/04-tar1090-configure b/rootfs/etc/s6-overlay/scripts/04-tar1090-configure index 3619b41..dd2fd8e 100755 --- a/rootfs/etc/s6-overlay/scripts/04-tar1090-configure +++ b/rootfs/etc/s6-overlay/scripts/04-tar1090-configure @@ -77,6 +77,10 @@ if [[ -n "$TAR1090_SITENAME" ]]; then echo "SiteName = \"${TAR1090_SITENAME}\";" fi +if chk_disabled "${TAR1090_ENABLE_ACTUALRANGE}"; then + echo "actual_range_show = false;" +fi + if [[ -n "$TAR1090_RANGE_OUTLINE_COLOR" ]]; then echo "range_outline_color = '${TAR1090_RANGE_OUTLINE_COLOR}';" fi