echo "# Disable the PWR LED" | sudo tee -a /boot/config.txtecho "dtparam=pwr_led_trigger=none" | sudo tee -a /boot/config.txtecho "dtparam=pwr_led_activelow=off" | sudo tee -a /boot/config.txt
禁用树莓派以太网指示灯
echo "# Disable Ethernet LEDs" | sudo tee -a /boot/config.txtecho "dtparam=eth_led0=14" | sudo tee -a /boot/config.txtecho "dtparam=eth_led1=14" | sudo tee -a /boot/config.txt
禁用树莓派wifi
echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt
禁用树莓派蓝牙
echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt