Update argon1-pifan.sh

This commit is contained in:
aiminick 2021-11-10 01:32:53 +08:00 committed by GitHub
parent 6a4060b82d
commit 41500087e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 9 deletions

View File

@ -296,6 +296,8 @@ echo ' sudo rm '$removescript >> $removescript
echo ' echo "Removed Argon One Services."' >> $removescript echo ' echo "Removed Argon One Services."' >> $removescript
echo ' echo "Cleanup will complete after restarting the device."' >> $removescript echo ' echo "Cleanup will complete after restarting the device."' >> $removescript
echo 'fi' >> $removescript echo 'fi' >> $removescript
# Add Debian-Pi-Aarch64 OS support
echo "sed -i 's/.*dtparam=i2c_arm=on/# dtparam=i2c_arm=on/g' /boot/config.txt" >> $removescript echo "sed -i 's/.*dtparam=i2c_arm=on/# dtparam=i2c_arm=on/g' /boot/config.txt" >> $removescript
echo "sed -i 's/.*enable_uart=1/# enable_uart=1/g' /boot/config.txt" >> $removescript echo "sed -i 's/.*enable_uart=1/# enable_uart=1/g' /boot/config.txt" >> $removescript
echo 'echo "I2C & UART in config.txt was restored as disabled."' >> $removescript echo 'echo "I2C & UART in config.txt was restored as disabled."' >> $removescript