andrewm@58: #!/bin/bash andrewm@58: # andrewm@58: # This script stops the BeagleRT program running on the BeagleBone. andrewm@58: andrewm@58: BBB_ADDRESS="root@192.168.7.2" andrewm@58: andrewm@58: echo "Stopping BeagleRT..." andrewm@63: andrewm@63: # The first command should be sufficient to stop any BeagleRT run with andrewm@63: # these scripts; the second will catch any leftovers run other ways andrewm@63: ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT"