diff --git a/bluetooth_bcm43xx/config.json b/bluetooth_bcm43xx/config.json index 7ca3771..d00086c 100644 --- a/bluetooth_bcm43xx/config.json +++ b/bluetooth_bcm43xx/config.json @@ -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/", diff --git a/bluetooth_bcm43xx/run.sh b/bluetooth_bcm43xx/run.sh index 25b9219..d8a92e7 100644 --- a/bluetooth_bcm43xx/run.sh +++ b/bluetooth_bcm43xx/run.sh @@ -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