Mercurial > hg > beaglert
annotate scripts/stop_running.sh @ 163:20b52283c7b4 heavy-updated
- added circular buffer pd/heavy example (works but process needs to be killed manually if launched via ssh?)
author | chnrx <chris.heinrichs@gmail.com> |
---|---|
date | Thu, 12 Nov 2015 15:55:30 +0000 |
parents | 3ada83df91a5 |
children | 8329f234d914 |
rev | line source |
---|---|
andrewm@58 | 1 #!/bin/bash |
andrewm@58 | 2 # |
andrewm@58 | 3 # This script stops the BeagleRT program running on the BeagleBone. |
andrewm@58 | 4 |
andrewm@58 | 5 BBB_ADDRESS="root@192.168.7.2" |
andrewm@58 | 6 |
andrewm@58 | 7 echo "Stopping BeagleRT..." |
andrewm@63 | 8 |
andrewm@63 | 9 # The first command should be sufficient to stop any BeagleRT run with |
andrewm@63 | 10 # these scripts; the second will catch any leftovers run other ways |
andrewm@63 | 11 ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT" |