From 634f309c7134228bc671d73ced1f3b22bd41a2d4 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Fri, 13 Sep 2024 17:54:54 +0200 Subject: Disable BT completely --- custom-scripts/modify-raspi.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'custom-scripts') diff --git a/custom-scripts/modify-raspi.sh b/custom-scripts/modify-raspi.sh index 9340f04..73b5f22 100755 --- a/custom-scripts/modify-raspi.sh +++ b/custom-scripts/modify-raspi.sh @@ -28,6 +28,7 @@ grep -q earlycon "$cfgfile" || sed -i -e '1 s/$/ earlycon=pl011,mmio32,0x3f20100 cfgfile="${BINARIES_DIR}/rpi-firmware/config.txt" sed -i -e "/start_file/ s/^.*$/start_file=start_cd.elf/" "$cfgfile" +grep -q miniuart-bt "$cfgfile" || sed -i -e '/dtoverlay/ s/miniuart-bt/disable-bt/' "$cfgfile" grep -q nohdmi "$cfgfile" || sed -i -e '/dtoverlay/ s/$/,nohdmi/' "$cfgfile" grep -q disable_fw_kms_setup "$cfgfile" || echo "disable_fw_kms_setup=1" >> "$cfgfile" grep -q enable_tvout "$cfgfile" || echo "enable_tvout=0" >> "$cfgfile" -- cgit v1.2.3