Mercurial > hg > beaglert
comparison 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 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 391:db1714fe2814 | 392:5587d7fa0108 | 
|---|---|
| 15 cd /root | 15 cd /root | 
| 16 sh Bela_startup.sh | 16 sh Bela_startup.sh | 
| 17 sh Bela_node.sh | 17 sh Bela_node.sh | 
| 18 ;; | 18 ;; | 
| 19 stop) | 19 stop) | 
| 20 pkill BeagleRT | 20 cd /root/Bela && make stop | 
| 21 ;; | 21 ;; | 
| 22 *) | 22 *) | 
| 23 echo "Usage: /etc/init.d/bela {start|stop}" | 23 echo "Usage: /etc/init.d/bela {start|stop}" | 
| 24 exit 1 | 24 exit 1 | 
| 25 ;; | 25 ;; | 
