From 926d1b92c3fbdbd6d803a64995b0efd964f2fec4 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Mon, 5 Jun 2017 23:38:46 +0200 Subject: [PATCH] fix bluetooth on wrong return (#112) * Update run.sh * Update config.json --- bluetooth_bcm43xx/config.json | 2 +- bluetooth_bcm43xx/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bluetooth_bcm43xx/config.json b/bluetooth_bcm43xx/config.json index f512938..b8328fb 100644 --- a/bluetooth_bcm43xx/config.json +++ b/bluetooth_bcm43xx/config.json @@ -1,6 +1,6 @@ { "name": "Bluetooth BCM43xx", - "version": "0.3", + "version": "0.4", "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 df4bf58..9317c5f 100644 --- a/bluetooth_bcm43xx/run.sh +++ b/bluetooth_bcm43xx/run.sh @@ -4,6 +4,6 @@ set -e hciattach -n /dev/ttyAMA0 bcm43xx 115200 noflow - & HCI_PID=$! -hciconfig hci0 up +hciconfig hci0 up || true wait $HCI_PID