diff --git a/installation_part1.sh b/installation_part1.sh index cd00092..e3c177b 100644 --- a/installation_part1.sh +++ b/installation_part1.sh @@ -143,9 +143,9 @@ if ! sudo visudo -c; then fi # Open all UART serial ports and disable HDMI + Bluetooth (avoid duplication) -info "Configuring UART serial ports and disabling HDMI/Bluetooth to save power..." +info "Configuring UART serial ports and disabling Bluetooth to save power..." if ! grep -q "enable_uart=1" /boot/firmware/config.txt; then - echo -e "\nenable_uart=1\ndtoverlay=uart0\ndtoverlay=uart1\ndtoverlay=uart2\ndtoverlay=uart3\ndtoverlay=uart4\ndtoverlay=uart5\n\n# Disable HDMI to save power (~20-30mA)\nhdmi_blanking=2\n\n# Disable Bluetooth to save power (~20-30mA)\ndtoverlay=disable-bt" | sudo tee -a /boot/firmware/config.txt > /dev/null + echo -e "\nenable_uart=1\ndtoverlay=uart0\ndtoverlay=uart1\ndtoverlay=uart2\ndtoverlay=uart3\ndtoverlay=uart4\ndtoverlay=uart5\n\n# Disable Bluetooth to save power (~20-30mA)\ndtoverlay=disable-bt" | sudo tee -a /boot/firmware/config.txt > /dev/null success "UART configuration, HDMI and Bluetooth disable added." else warning "UART configuration already set. Skipping."