Update emq-TE1x.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-02-14 00:38:53 +00:00
parent 6f360e54fc
commit a9dcf311ea
1 changed files with 1 additions and 20 deletions

View File

@ -2248,26 +2248,7 @@ WantedBy=multi-user.target
EOF
######################################################################################################################
# raspberry
#####################################################################################################################
cat > /etc/modprobe.d/raspi-blacklist.conf <<- "EOF"
blacklist snd_bcm2835
# blacklist spi and i2c by default (many users don't need them)
#blacklist spi-bcm2708
#blacklist i2c-bcm2708
blacklist snd-soc-pcm512x
blacklist snd-soc-wm8804
# dont load default drivers for the RTL dongle
blacklist dvb_usb_rtl28xxu
blacklist rtl_2832
blacklist rtl_2830
EOF
################################
cd /usr/share/alsa/
sudo sed -i 's/defaults.ctl.card 0/defaults.ctl.card 1/' alsa.conf
sudo sed -i 's/defaults.pcm.card 0/defaults.pcm.card 1/' alsa.conf
#########################################################################################################################
# cronedit
########################################################################################################################
cat > /usr/local/bin/cronedit.sh <<- "EOF"