Dump1090-mutability - Fix whiptail to explaim the MAX_RANGE value

pull/289/head
romeo-golf 2017-02-07 02:45:23 +00:00
rodzic 154411cc78
commit ba5c56fdf0
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -239,8 +239,7 @@ fi
# In future ask the user if they would like to specify the dump1090 range manually, if not set to 360 nmi / ~667 km to match dump1090-fa.
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
# Explain to the user that the receiver's latitude and longitude is required.
whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Dump1090 Maximum Range" --msgbox "The dump1090-mutability default maximum range value of 300 nmi has been reported to be below what is possible with a well placed antenna, thus we will increase this values to 360 nmi (~660 km) until there is code to asl the user t confirm.
whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Dump1090 Maximum Range" --msgbox "The dump1090-mutability default maximum range value of 300 nmi has been reported to be below what is possible with a well placed antenna so we will increase this value to 360 nmi (~660 km) to match dump1090-fa" 10 78
fi
if [[ -z "${DUMP1090_MAX_RANGE}" ]] ; then
DUMP1090_MAX_RANGE="360"