diff scripts/halt_board.sh @ 60:ad6b2767beaf newapi

Command-line argument support for BeagleRT program in scripts, plus a simple script for halting the BBB
author andrewm
date Wed, 15 Jul 2015 18:53:10 +0100
parents
children e70f023e0f7f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/halt_board.sh	Wed Jul 15 18:53:10 2015 +0100
@@ -0,0 +1,8 @@
+#!/bin/bash
+#
+# This script halts the BeagleBone Black.
+
+BBB_ADDRESS="root@192.168.7.2"
+
+echo "Shutting down the BeagleBone Black..."
+ssh $BBB_ADDRESS "halt"
\ No newline at end of file