Mercurial > hg > beaglert
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/stop_running.sh Tue Aug 18 00:35:15 2015 +0100 @@ -0,0 +1,11 @@ +#!/bin/bash +# +# This script stops the BeagleRT program running on the BeagleBone. + +BBB_ADDRESS="root@192.168.7.2" + +echo "Stopping BeagleRT..." + +# The first command should be sufficient to stop any BeagleRT run with +# these scripts; the second will catch any leftovers run other ways +ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT" \ No newline at end of file