From d4b1f1f091e1614d115d49dffb22ee0674a09604 Mon Sep 17 00:00:00 2001 From: Candle <50766841+CandleHater@users.noreply.github.com> Date: Mon, 20 Jan 2020 16:50:35 +0100 Subject: [PATCH] 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. --- build_sdcard.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build_sdcard.sh b/build_sdcard.sh index a376dee21..da9a50bcc 100644 --- a/build_sdcard.sh +++ b/build_sdcard.sh @@ -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