Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
84:dab53ea16bd1 | 85:91e1a3a220d4 |
---|---|
42 echo | 42 echo |
43 if [[ $REPLY = y ]] | 43 if [[ $REPLY = y ]] |
44 then | 44 then |
45 # Stop BeagleRT if running and remove all files | 45 # Stop BeagleRT if running and remove all files |
46 echo "Stopping BeagleRT and removing old files." | 46 echo "Stopping BeagleRT and removing old files." |
47 ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT; sleep 0.5 ; rm -rf $BBB_PATH ; mkdir $BBB_PATH" | 47 ssh $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT; sleep 0.5 ; rm -rf $BBB_PATH ; mkdir $BBB_PATH" |
48 | 48 |
49 # Copy relevant files to BeagleBone Black | 49 # Copy relevant files to BeagleBone Black |
50 echo "Copying new files to BeagleBone..." | 50 echo "Copying new files to BeagleBone..." |
51 scp -r $SCRIPTDIR/../core $SCRIPTDIR/../include $SCRIPTDIR/../Makefile $SCRIPTDIR/../libNE10.a $SCRIPTDIR/../libprussdrv.a $BBB_ADDRESS:$BBB_PATH | 51 scp -r $SCRIPTDIR/../core $SCRIPTDIR/../include $SCRIPTDIR/../Makefile $SCRIPTDIR/../libNE10.a $SCRIPTDIR/../libprussdrv.a $BBB_ADDRESS:$BBB_PATH |
52 | 52 |