diff scripts/setup_board.sh @ 85:91e1a3a220d4

Suppressed the no screen found warnings
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 17 Jul 2015 23:12:09 +0100
parents eec746389e20
children 0357b8df93a5
line wrap: on
line diff
--- 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..."