Mercurial > hg > beaglert
comparison scripts/run_project.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 | 3ada83df91a5 |
children | d41631e0fe0e |
comparison
equal
deleted
inserted
replaced
84:dab53ea16bd1 | 85:91e1a3a220d4 |
---|---|
40 shift $((OPTIND-1)) | 40 shift $((OPTIND-1)) |
41 | 41 |
42 echo "Running BeagleRT..." | 42 echo "Running BeagleRT..." |
43 if [ $RUN_IN_FOREGROUND -eq 0 ] | 43 if [ $RUN_IN_FOREGROUND -eq 0 ] |
44 then | 44 then |
45 ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS" | 45 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" |
46 else | 46 else |
47 ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS" | 47 ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS" |
48 fi | 48 fi |