diff options
-rwxr-xr-x | custom-scripts/modify-raspi.sh | 1 |
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" |