Added additional adsbx install options.

pull/576/head
jprochazka 2024-06-28 21:39:25 -04:00
rodzic 4c71b5e857
commit ccde75fbd4
2 zmienionych plików z 29 dodań i 0 usunięć

Wyświetl plik

@ -6,6 +6,8 @@ The following is a history of the changes made to this project.
### Installers
* Added the option to install the ADS-B Exchange stats package after feeder installation.
* Added the option to install the ADS-B Exchange web interface after feeder installation.
* Added support for Ubuntu Jammy Jellyfish.
* Added support for Ubuntu Focal Fossa.
* Added support for DietPi Bookworm.

Wyświetl plik

@ -92,6 +92,33 @@ chmod -x ${RECEIVER_BUILD_DIRECTORY}/adsbexchange/feed-${ACTION_TO_PERFORM}.sh
echo -e "\e[94m Executing the ${ACTION_TO_PERFORM} script...\e[97m"
echo ""
sudo bash ${RECEIVER_BUILD_DIRECTORY}/adsbexchange/feed-${ACTION_TO_PERFORM}.sh
echo ""
## INSTALL THE ADS-B EXCHANGE STATS PACKAGE
if whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "ADS-B Exchange Feed Setup" --yesno "ADS-B Exchange offers the option to install their stats package in order to send your stats to their site.\n\nWould you like to install the stats package now?" 12 78; then
echo -e "\e[95m Executing the ADS-B Exchange script to install their web interface...\e[97m"
echo ""
echo -e "\e[94m Downloading the stats package installation script...\e[97m"
echo ""
curl -L -o ${RECEIVER_BUILD_DIRECTORY}/adsbexchange/axstats.sh https://adsbexchange.com/stats.sh
echo ""
echo -e "\e[94m Executing the stats package installation script...\e[97m"
echo ""
sudo bash ${RECEIVER_BUILD_DIRECTORY}/adsbexchange/axstats.sh
echo ""
fi
## INSTALL THE ADS-B EXCHANGE WEB INTERFACE
if whiptail --backtitle "${RECEIVER_PROJECT_TITLE}" --title "ADS-B Exchange Feed Setup" --yesno "ADS-B Exchange offers the option to install an additional web interface.\n\nWould you like to install the web interface now?" 12 78; then
echo -e "\e[95m Executing the ADS-B Exchange script to install their web interface...\e[97m"
echo ""
echo -e "\e[94m Executing the ADS-B Exchange web interface installation script...\e[97m"
echo ""
sudo bash /usr/local/share/adsbexchange/git/install-or-update-interface.sh
echo ""
fi
## ADS-B EXCHANGE FEED SETUP COMPLETE