From fcc73173323b3d6dfc53189664ea11eb2efa3e67 Mon Sep 17 00:00:00 2001 From: kx1t Date: Sat, 14 Oct 2023 14:03:46 -0400 Subject: [PATCH] make adsbx json-status download from our own repo instead of from AdsbExchange --- rootfs/etc/s6-overlay/scripts/adsbx-stats | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootfs/etc/s6-overlay/scripts/adsbx-stats b/rootfs/etc/s6-overlay/scripts/adsbx-stats index 84f81c1..5fd7451 100755 --- a/rootfs/etc/s6-overlay/scripts/adsbx-stats +++ b/rootfs/etc/s6-overlay/scripts/adsbx-stats @@ -25,8 +25,8 @@ if [[ ! -f /etc/default/adsbexchange-stats ]]; then echo -e "UUID_FILE=/run/uuid\nJSON_PATHS=(\"/run/readsb\")" > /etc/default/adsbexchange-stats fi if [[ ! -f /usr/local/bin/json-status ]]; then - if ! curl -sSL -o /usr/local/bin/json-status https://raw.githubusercontent.com/ADSBexchange/adsbexchange-stats/master/json-status; then - "${s6wrap[@]}" echo "ERROR: AdsbExchange configure, but cannot download stats package! AdsbExchange will be fed but stats will not be available" + if ! curl -sSL -o /usr/local/bin/json-status https://raw.githubusercontent.com/sdr-enthusiasts/docker-adsb-ultrafeeder/main/downloads/adsbexchange-json-status; then + "${s6wrap[@]}" echo "ERROR: AdsbExchange configured, but cannot download stats package! AdsbExchange will be fed but stats will not be available" sleep infinity & wait $! fi chmod 755 /usr/local/bin/json-status @@ -68,4 +68,4 @@ fi } & "${s6wrap[@]}" echo "invoking: /usr/local/bin/json-status" -"${s6wrap[@]}" /usr/local/bin/json-status \ No newline at end of file +"${s6wrap[@]}" /usr/local/bin/json-status