view scripts/halt_board.sh @ 463:c47709e8b5c9 prerelease

Makefile automatically links in default_libpd_render.cpp if there is a _main.pd file and there is no render symbol
author Giulio Moro <giuliomoro@yahoo.it>
date Mon, 20 Jun 2016 15:10:12 +0100
parents d9a4fc5357e7
children
line wrap: on
line source
#!/bin/sh
#
# This script halts the BeagleBone Black.

SCRIPTDIR=$(dirname "$0")
[ -z $SCRIPTDIR ] && SCRIPTDIR="./" || SCRIPTDIR=$SCRIPTDIR/ 
. $SCRIPTDIR.bela_common || { echo "You must be in Bela/scripts to run these scripts" | exit 1; }  

echo "Shutting down the BeagleBone Black..."
ssh $BBB_ADDRESS "halt"