diff resources/initd-bela @ 392:5587d7fa0108 prerelease

Added a new init.d script for the shutdown button and updated the bela script to use the Makefile to stop.
author andrewm
date Tue, 14 Jun 2016 21:39:06 +0100
parents db1714fe2814
children
line wrap: on
line diff
--- a/resources/initd-bela	Tue Jun 14 21:13:40 2016 +0100
+++ b/resources/initd-bela	Tue Jun 14 21:39:06 2016 +0100
@@ -17,7 +17,7 @@
     sh Bela_node.sh
     ;;
   stop)
-    pkill BeagleRT
+    cd /root/Bela && make stop
     ;;
   *)
     echo "Usage: /etc/init.d/bela {start|stop}"