comparison scripts/stop_running.sh @ 108:3068421c0737 ultra-staging

Merged default into ultra-staging
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 18 Aug 2015 00:35:15 +0100
parents 3ada83df91a5
children 8329f234d914
comparison
equal deleted inserted replaced
54:d3f869b98147 108:3068421c0737
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"