Added Pi4 support while deactivating Bluetooth

The former implementation did not cover the Raspberry 4 as the ``dtoverlay`` was changed to ``disable-bt``. I added both, so all Raspberry models are covered when deactivating Bluetooth.
This commit is contained in:
Candle 2020-01-20 16:50:35 +01:00 committed by GitHub
parent e10646bc21
commit d4b1f1f091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -705,6 +705,7 @@ if [ "${baseImage}" = "raspbian" ]; then
# disable bluetooth module
sudo sh -c "echo 'dtoverlay=pi3-disable-bt' >> /boot/config.txt"
sudo sh -c "echo 'dtoverlay=disable-bt' >> /boot/config.txt"
# remove bluetooth services
sudo systemctl disable bluetooth.service