summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2024-09-13 17:54:54 +0200
committeruvok cheetah2024-09-13 17:54:54 +0200
commit634f309c7134228bc671d73ced1f3b22bd41a2d4 (patch)
tree6e89697a9755cdfde83cb0404ca756d4f5370d0f
parenta83a580c70e81b52259a08ccd681a09f1b448f38 (diff)
Disable BT completely
-rwxr-xr-xcustom-scripts/modify-raspi.sh1
1 files changed, 1 insertions, 0 deletions
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"