Mercurial > hg > beaglert
comparison scripts/halt_board.sh @ 365:e70f023e0f7f prerelease
Updated halt_board.sh
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Thu, 09 Jun 2016 01:49:14 +0100 |
parents | ad6b2767beaf |
children | 99de323c13b3 |
comparison
equal
deleted
inserted
replaced
364:ab6d78e18e85 | 365:e70f023e0f7f |
---|---|
1 #!/bin/bash | 1 #!/bin/bash |
2 # | 2 # |
3 # This script halts the BeagleBone Black. | 3 # This script halts the BeagleBone Black. |
4 | 4 |
5 BBB_ADDRESS="root@192.168.7.2" | 5 [ -z "$BBB_ADDRESS" ] && BBB_ADDRESS="root@192.168.7.2" |
6 | 6 |
7 echo "Shutting down the BeagleBone Black..." | 7 echo "Shutting down the BeagleBone Black..." |
8 ssh $BBB_ADDRESS "halt" | 8 ssh $BBB_ADDRESS "halt" |