kopia lustrzana https://github.com/jprochazka/adsb-receiver
Feeders - Warn that automated installation is not yet supported
rodzic
38829bcc73
commit
caab412f82
|
@ -89,8 +89,8 @@ echo -e ""
|
|||
echo -e "\e[93m ------------------------------------------------------------------------------\e[96m"
|
||||
echo -e ""
|
||||
|
||||
# Interactive install.
|
||||
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
||||
# Interactive install.
|
||||
CONTINUE_SETUP=$(whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "ADS-B Exchange Feed Setup" --yesno "ADS-B Exchange is a co-op of ADS-B/Mode S/MLAT feeders from around the world, and the world’s largest source of unfiltered flight data.\n\n http://www.adsbexchange.com/how-to-feed/\n\nContinue setting up the ADS-B Exchange feed?" 12 78 3>&1 1>&2 2>&3)
|
||||
if [[ ${CONTINUE_SETUP} -eq 1 ]] ; then
|
||||
# Setup has been halted by the user.
|
||||
|
@ -103,6 +103,11 @@ if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
|||
read -p "Press enter to continue..." CONTINUE
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# Warn that automated installation is not supported.
|
||||
echo -e "\e[92m Automated installation of this script is not yet supported...\e[39m"
|
||||
echo -e ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## CHECK FOR AND REMOVE ANY OLD STYLE ADB-B EXCHANGE SETUPS IF ANY EXIST
|
||||
|
@ -190,7 +195,6 @@ else
|
|||
# Attempt to derive required values at some point...
|
||||
echo -e "\e[92m Automated installation of this script is not yet supported...\e[39m"
|
||||
echo -e ""
|
||||
read -p "Press enter to continue..." CONTINUE
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
@ -306,6 +310,10 @@ if [[ "${FEEDER_MLAT_ENABLED}" = "true" ]] ; then
|
|||
sudo dpkg -i ${RECEIVER_BUILD_DIRECTORY}/mlat-client_${MLAT_CLIENT_VERSION}*.deb 2>&1
|
||||
echo -e ""
|
||||
|
||||
# Check installed version.
|
||||
MLAT_CLIENT_VERSION_AVAILABLE=$(echo ${MLAT_CLIENT_VERSION} | tr -cd '[:digit:]' | sed -e 's/^0//g')
|
||||
MLAT_CLIENT_VERSION_INSTALLED=$(sudo dpkg -s mlat-client 2>/dev/null | grep "^Version:" | awk '{print $2}' | tr -cd '[:digit:]' | sed -e 's/^0//g')
|
||||
|
||||
# Check that the component package was installed successfully.
|
||||
echo -e ""
|
||||
echo -e "\e[94m Checking that the mlat-client package was installed properly...\e[97m"
|
||||
|
|
|
@ -60,8 +60,8 @@ echo -e ""
|
|||
echo -e "\e[93m ------------------------------------------------------------------------------\e[96m"
|
||||
echo -e ""
|
||||
|
||||
# Interactive install.
|
||||
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
||||
# Interactive install.
|
||||
CONTINUE_SETUP=$(whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Flightradar24 Feeder Client Setup" --yesno "The Flightradar24's feeder client can track flights within 200-400 miles and will automatically share data with Flightradar24, you can track flights directly off your device or via Flightradar24.com.\n\n http://www.flightradar24.com/share-your-data\n\nContinue setup by installing the Flightradar24 feeder client?" 13 78 3>&1 1>&2 2>&3)
|
||||
if [[ ${CONTINUE_SETUP} -eq 1 ]] ; then
|
||||
# Setup has been halted by the user.
|
||||
|
@ -74,6 +74,11 @@ if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
|||
read -p "Press enter to continue..." CONTINUE
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# Warn that automated installation is not supported.
|
||||
echo -e "\e[92m Automated installation of this script is not yet supported...\e[39m"
|
||||
echo -e ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## CHECK FOR PREREQUISITE PACKAGES
|
||||
|
|
|
@ -60,8 +60,8 @@ echo -e ""
|
|||
echo -e "\e[93m ------------------------------------------------------------------------------\e[96m"
|
||||
echo -e ""
|
||||
|
||||
# Interactive install.
|
||||
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
||||
# Interactive install.
|
||||
CONTINUE_SETUP=$(whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "PiAware Setup" --yesno "PiAware is a package used to forward data read from an ADS-B receiver to FlightAware. It does this using a program, piaware, while aided by other support programs.\n\n https://github.com/flightaware/piaware\n\nContinue setup by installing FlightAware's PiAware?" 13 78 3>&1 1>&2 2>&3)
|
||||
if [[ ${CONTINUE_SETUP} -eq 1 ]] ; then
|
||||
# Setup has been halted by the user.
|
||||
|
@ -74,6 +74,11 @@ if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
|||
read -p "Press enter to continue..." CONTINUE
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# Warn that automated installation is not supported.
|
||||
echo -e "\e[92m Automated installation of this script is not yet supported...\e[39m"
|
||||
echo -e ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## CHECK FOR PREREQUISITE PACKAGES
|
||||
|
|
|
@ -61,8 +61,8 @@ echo -e ""
|
|||
echo -e "\e[93m ------------------------------------------------------------------------------\e[96m"
|
||||
echo -e ""
|
||||
|
||||
# Interactive install.
|
||||
if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
||||
# Interactive install.
|
||||
CONTINUE_SETUP=$(whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "Plane Finder ADS-B Client Setup" --yesno "The Plane Finder ADS-B Client is an easy and accurate way to share your ADS-B and MLAT data with Plane Finder. It comes with a beautiful user interface that helps you explore and interact with your data in realtime.\n\n https://planefinder.net/sharing/client\n\nContinue setup by installing the Plane Finder ADS-B Client?" 13 78 3>&1 1>&2 2>&3)
|
||||
if [[ ${CONTINUE_SETUP} -eq 1 ]] ; then
|
||||
# Setup has been halted by the user.
|
||||
|
@ -75,6 +75,11 @@ if [[ "${RECEIVER_AUTOMATED_INSTALL}" = "false" ]] ; then
|
|||
read -p "Press enter to continue..." CONTINUE
|
||||
exit 1
|
||||
fi
|
||||
else
|
||||
# Warn that automated installation is not supported.
|
||||
echo -e "\e[92m Automated installation of this script is not yet supported...\e[39m"
|
||||
echo -e ""
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## CHECK FOR PREREQUISITE PACKAGES
|
||||
|
|
Ładowanie…
Reference in New Issue