kopia lustrzana https://github.com/jprochazka/adsb-receiver
Further application of s/MEASURMENT/MEASUREMENT/
rodzic
d7c43fb4be
commit
89507bc035
|
@ -260,7 +260,7 @@ if [[ `grep "MAX_RANGE" ${DUMP1090_CONFIGURATION_FILE} | awk -F \" '{print $2}'`
|
||||||
ChangeConfig "MAX_RANGE" "${DUMP1090_MAX_RANGE}" "${DUMP1090_CONFIGURATION_FILE}"
|
ChangeConfig "MAX_RANGE" "${DUMP1090_MAX_RANGE}" "${DUMP1090_CONFIGURATION_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ask if measurments should be displayed using imperial or metric.
|
# Ask if measurements should be displayed using imperial or metric.
|
||||||
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
||||||
whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Unit of Measurement" --yes-button "Imperial" --no-button "Metric" --yesno "\nPlease select the unit of measurement to be used by dump1090-mutbility." 9 78
|
whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Unit of Measurement" --yes-button "Imperial" --no-button "Metric" --yesno "\nPlease select the unit of measurement to be used by dump1090-mutbility." 9 78
|
||||||
case $? in
|
case $? in
|
||||||
|
|
|
@ -139,7 +139,7 @@ DUMP1090_BIND_TO_ALL_IPS="true"
|
||||||
# MUTABILITY ONLY: You can specify the unit of measure used by dump1090-mutability.
|
# MUTABILITY ONLY: You can specify the unit of measure used by dump1090-mutability.
|
||||||
# This can be set to either "metric" or "imperial".
|
# This can be set to either "metric" or "imperial".
|
||||||
|
|
||||||
DUMP1090_UNIT_OF_MEASURMENT="imperial"
|
DUMP1090_UNIT_OF_MEASUREMENT="imperial"
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------------
|
||||||
# DUMP978
|
# DUMP978
|
||||||
|
|
Ładowanie…
Reference in New Issue