From 532b0a090f2576dda3b24cc48fc7bbaad8ee5fcb Mon Sep 17 00:00:00 2001 From: Joe Prochazka Date: Sun, 27 Dec 2015 03:15:48 -0500 Subject: [PATCH] Added terrain limit setup will be skipped message. --- bash/decoders/dump1090-mutability.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bash/decoders/dump1090-mutability.sh b/bash/decoders/dump1090-mutability.sh index 1a3f1fb..a249e43 100755 --- a/bash/decoders/dump1090-mutability.sh +++ b/bash/decoders/dump1090-mutability.sh @@ -205,6 +205,11 @@ if [ ! -f /usr/share/dump1090-mutability/html/upintheair.json ]; then echo -e "\033[37m" sudo wget -O /usr/share/dump1090-mutability/html/upintheair.json "http://www.heywhatsthat.com/api/upintheair.json?id=${HEYWHATSTHATVIEWID}&refraction=0.25&alts=3048,12192" fi +else + # Heywhatsthis.com upintheair.json file already exists. + echo -e "\033[33m" + echo "Exisitng heywhatsthat.com position data found." + echo -e "Skipping terrain limit ring setup...\033[37m" fi ## DISPLAY MESSAGE STATING DUMP1090-MUTABILITY SETUP IS COMPLETE