Mercurial > hg > beaglert
view scripts/stop_running.sh @ 64:b89dd0c97a04 newapi
added Makefile, added default_main, added error checking in scripts
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 15 Jul 2015 19:59:29 +0100 |
parents | 3ada83df91a5 |
children | 8329f234d914 |
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..." # 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"