# HG changeset patch # User Giulio Moro # Date 1437171129 -3600 # Node ID 91e1a3a220d4bcbeeaeba82833f3fe4a0cf82264 # Parent dab53ea16bd1ad3097d60ad98b6fd037e37b6a7a Suppressed the no screen found warnings diff -r dab53ea16bd1 -r 91e1a3a220d4 scripts/build_project.sh --- a/scripts/build_project.sh Fri Jul 17 22:58:25 2015 +0100 +++ b/scripts/build_project.sh Fri Jul 17 23:12:09 2015 +0100 @@ -67,7 +67,7 @@ # Stop BeagleRT and clean out old source files echo "Stopping BeagleRT and removing old source files..." -ssh -t -t $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; make sourceclean -C $BBB_PATH" +ssh -t -t $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; make sourceclean -C $BBB_PATH" #concatenate arguments to form path. BBB_SOURCE_PATH= #initially empty, will be filled with input arguments diff -r dab53ea16bd1 -r 91e1a3a220d4 scripts/run_project.sh --- a/scripts/run_project.sh Fri Jul 17 22:58:25 2015 +0100 +++ b/scripts/run_project.sh Fri Jul 17 23:12:09 2015 +0100 @@ -42,7 +42,7 @@ echo "Running BeagleRT..." if [ $RUN_IN_FOREGROUND -eq 0 ] then - ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" + ssh $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" else - ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS" + ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS" fi \ No newline at end of file diff -r dab53ea16bd1 -r 91e1a3a220d4 scripts/setup_board.sh --- a/scripts/setup_board.sh Fri Jul 17 22:58:25 2015 +0100 +++ b/scripts/setup_board.sh Fri Jul 17 23:12:09 2015 +0100 @@ -44,7 +44,7 @@ then # Stop BeagleRT if running and remove all files echo "Stopping BeagleRT and removing old files." - ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT; sleep 0.5 ; rm -rf $BBB_PATH ; mkdir $BBB_PATH" + ssh $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT; sleep 0.5 ; rm -rf $BBB_PATH ; mkdir $BBB_PATH" # Copy relevant files to BeagleBone Black echo "Copying new files to BeagleBone..."