Mercurial > hg > beaglert
diff scripts/stop_running.sh @ 58:3ffafa57302c newapi
Added scripts for building on board
author | andrewm |
---|---|
date | Wed, 15 Jul 2015 15:49:00 +0100 |
parents | |
children | 3ada83df91a5 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/stop_running.sh Wed Jul 15 15:49:00 2015 +0100 @@ -0,0 +1,8 @@ +#!/bin/bash +# +# This script stops the BeagleRT program running on the BeagleBone. + +BBB_ADDRESS="root@192.168.7.2" + +echo "Stopping BeagleRT..." +ssh $BBB_ADDRESS "kill -s 2 \`pidof BeagleRT\` 2>/dev/null" \ No newline at end of file