Mercurial > hg > beaglert
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/stop_running.sh Fri Jul 17 15:28:18 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