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
echo "dtoverlay=pi3-disable-wifi" | sudo tee -a /boot/config.txt
echo "dtoverlay=pi3-disable-bt" | sudo tee -a /boot/config.txt
禁用树莓派板载音频驱动程序
echo "blacklist snd_bcm2835"> /etc/modprobe.d/alsa-blacklist.conf