annotate scripts/halt_board.sh @ 287:4815ed0f21de prerelease

Makefile refactoring: - avoids recursive call to build with/without main - takes EXAMPLE parameter. Copies the examples/$(EXAMPLE) folder to projects/$(PROJECT) and $PROJECT defaults to exampleTestProject - you can now `make run` (TODO: currently re-links, should instead run without linking)
author Giulio Moro <giuliomoro@yahoo.it>
date Wed, 18 May 2016 01:46:32 +0100
parents ad6b2767beaf
children e70f023e0f7f
rev   line source
andrewm@60 1 #!/bin/bash
andrewm@60 2 #
andrewm@60 3 # This script halts the BeagleBone Black.
andrewm@60 4
andrewm@60 5 BBB_ADDRESS="root@192.168.7.2"
andrewm@60 6
andrewm@60 7 echo "Shutting down the BeagleBone Black..."
andrewm@60 8 ssh $BBB_ADDRESS "halt"