Mercurial > hg > beaglert
annotate scripts/halt_board.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 | 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" |