Mercurial > hg > beaglert
view scripts/stop_running.sh @ 62:a11e23f4e6af newapi
Added script options for running in a loop at startup (needs further support for stopping) and running the project in the foreground
author | andrewm |
---|---|
date | Wed, 15 Jul 2015 19:40:15 +0100 |
parents | 3ffafa57302c |
children | 3ada83df91a5 |
line wrap: on
line source
#!/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"