diff --git a/bluetooth_bcm43xx/CHANGELOG.md b/bluetooth_bcm43xx/CHANGELOG.md index 8e66aa4..f7f6696 100644 --- a/bluetooth_bcm43xx/CHANGELOG.md +++ b/bluetooth_bcm43xx/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 2.2 +- Fix device-tree path for Supervisor 113 + ## 2.1 - Support new way to read `serial-number` from device-tree diff --git a/bluetooth_bcm43xx/config.json b/bluetooth_bcm43xx/config.json index df9dc0a..816a6c5 100644 --- a/bluetooth_bcm43xx/config.json +++ b/bluetooth_bcm43xx/config.json @@ -1,6 +1,6 @@ { "name": "Bluetooth BCM43xx", - "version": "2.1", + "version": "2.2", "slug": "bluetooth_bcm43xx", "description": "Activate Bluetooth for Broadcom 43xx chips", "url": "https://home-assistant.io/addons/bluetooth_bcm43xx/", diff --git a/bluetooth_bcm43xx/run.sh b/bluetooth_bcm43xx/run.sh index 944597b..1fa7d87 100644 --- a/bluetooth_bcm43xx/run.sh +++ b/bluetooth_bcm43xx/run.sh @@ -2,8 +2,8 @@ set -e # Read serial number -if [ -e /proc/device-tree/serial-number ]; then - SERIAL="$(cut -c9- /proc/device-tree/serial-number)" +if [ -e /device-tree/serial-number ]; then + SERIAL="$(cut -c9- /device-tree/serial-number)" else SERIAL="$(grep Serial /proc/cpuinfo | cut -c19-)" fi