From 52724bacf585ccd96537e67713e25f29ed172305 Mon Sep 17 00:00:00 2001 From: Joe Prochazka Date: Fri, 22 Apr 2016 14:58:55 -0400 Subject: [PATCH] Added warning not to delete directory. --- bash/portal/install.sh | 6 +++--- install.sh | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bash/portal/install.sh b/bash/portal/install.sh index 50ceddd..a14af1c 100755 --- a/bash/portal/install.sh +++ b/bash/portal/install.sh @@ -62,12 +62,12 @@ echo -e "\033[31m" echo "Do you wish to enable advanced features?" echo -e "\033[33m" echo "ENABLING ADVANCED FEATURES ON DEVICES USING SD CARDS CAN SHORTEN THE LIFE OF THE SD CARD IMMENSELY" -echo -e "\033[33m" +echo "" echo "By enabling advanced features the portal will log all flights seen as well as the path of the flight." echo "This data is stored in either a MySQL or SQLite database. This will result in a lot more data being" echo "stored on your devices hard drive. Keep this and your devices hardware capabilities in mind before" echo "selecting to enable these features." -echo "" +echo -e "\033[31m" echo "You have been warned." echo -e "\033[37m" read -p "Use portal with advanced features? [y/N] " ADVANCED @@ -357,7 +357,7 @@ echo -e "\033[37m" read -p "Press enter to continue..." CONTINUE # Display further portal setup instructions. -echo -e "\033[33m" +echo -e "\033[31m" echo "PORTAL SETUP IS NOT YET COMPLETE" echo -e "\033[33m" echo "In order to complete the portal setup process visit the following URL in your favorite web browser." diff --git a/install.sh b/install.sh index 27b51eb..2254df3 100755 --- a/install.sh +++ b/install.sh @@ -251,6 +251,10 @@ NOTHINGTODO="Nothing has been selected to be installed so the script will exit n read -d '' INSTALLATIONCOMPLETE <<"EOF" INSTALLATION COMPLETE +DO NOT DELETE THIS DIRECTORY! + +Files needed for certain items to run properly are contained within this directory. Deleting this directory may result in your receiver not working properly. + It is hoped these scripts and files were found useful while setting up your ADS-B Receiver. Feedback regarding this software is always welcome. If you ran into any problems or wish to submit feed back feel free to do so on the project's GitHub site. https://github.com/jprochazka/adsb-receiver @@ -564,7 +568,7 @@ fi ## INSTALLATION COMPLETE # Display the installation complete message box. -whiptail --backtitle "$BACKTITLE" --title "Software Installation Complete" --msgbox "$INSTALLATIONCOMPLETE" 16 65 +whiptail --backtitle "$BACKTITLE" --title "Software Installation Complete" --msgbox "$INSTALLATIONCOMPLETE" 19 65 # Once again cannot make the whiptail checkbox not create this file and still work... # Will work on figuring this out at a later date but until then we will delete the file created.