Fix run.sh (#118)

* Update run.sh

* Update config.json
This commit is contained in:
Pascal Vizeli
2017-06-06 22:19:08 +02:00
committed by GitHub
parent a35ddab72d
commit b181affe99
2 changed files with 5 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "Bluetooth BCM43xx",
"version": "0.6",
"version": "0.7",
"slug": "bluetooth_bcm43xx",
"description": "Activate bluetooth for bcm43xx",
"url": "https://home-assistant.io/addons/Bluetooth_bcm43xx/",

View File

@@ -4,4 +4,7 @@ set -e
hciattach /dev/ttyAMA0 bcm43xx 115200 noflow -
hciconfig hci0 up
wait "$(pgrep hciattach)"
while pgrep hciattach
do
sleep 600
done