changeset 421:57903b3259e1 prerelease

update_board.sh now disables Bela at startup and enables the IDE at startup
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 16 Jun 2016 14:02:15 +0100
parents 669855b8461b
children d56e638c37c6
files scripts/update_board.sh
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/update_board.sh	Thu Jun 16 13:54:48 2016 +0100
+++ b/scripts/update_board.sh	Thu Jun 16 14:02:15 2016 +0100
@@ -156,6 +156,10 @@
   # run the IDE 
   ssh $BBB_ADDRESS "make -C $BBB_BELA_HOME --no-print-directory idestart"
   echo \
-"Bela was installed on the board, but a valid IDE folder was not found in $IDE_FOLDER/, so the IDE was not updated. If there was an older version of the IDE on the board, it is being restarted.
+"The Bela core files were updated the board, but a valid IDE folder was not found in $IDE_FOLDER/, so the IDE was not updated. If there was an older version of the IDE on the board, it is being restarted.
 You can get a copy of the most up-to-date IDE files from https://github.com/LBDonovan/bela-ide"
 fi
+
+ssh $BBB_ADDRESS make -C $BBB_BELA_HOME --no-print-directory idestartup nostartup && echo "The board will now run the IDE at startup, but startup of the Bela program has been disabled. To enable it, use the set_startup.sh script" 
+
+