comparison scripts/stop_running.sh @ 67:472e892c6e41

Merge newapi into default
author Andrew McPherson <a.mcpherson@qmul.ac.uk>
date Fri, 17 Jul 2015 15:28:18 +0100
parents 3ada83df91a5
children 8329f234d914
comparison
equal deleted inserted replaced
21:0d80ff9e2227 67:472e892c6e41
1 #!/bin/bash
2 #
3 # This script stops the BeagleRT program running on the BeagleBone.
4
5 BBB_ADDRESS="root@192.168.7.2"
6
7 echo "Stopping BeagleRT..."
8
9 # The first command should be sufficient to stop any BeagleRT run with
10 # these scripts; the second will catch any leftovers run other ways
11 ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT"