mirror of
https://github.com/sdr-enthusiasts/docker-adsb-ultrafeeder.git
synced 2024-11-24 23:00:11 +00:00
make adsbx json-status download from our own repo instead of from AdsbExchange
This commit is contained in:
parent
bee949cdd6
commit
fcc7317332
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue