mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
fix bluetooth on wrong return (#112)
* Update run.sh * Update config.json
This commit is contained in:
@@ -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/",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user