X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/1b2cabb898fa4583a3c74770810ec109a1ae17ec..b17f34b42aa5e6ca959d8f3d748012c87d4d8999:/uninstall.sh diff --git a/uninstall.sh b/uninstall.sh index 0709cc0..aaac11b 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -22,4 +22,12 @@ fi cd .. +printf "Disabling serial..\n" +# Enable serial terminal over /dev/ttyAMA0 +raspi-config nonint do_serial 0 +# Disable serial port +raspi-config nonint set_config_var enable_uart 0 /boot/config.txt +# Switch serial port back to miniUART +sed -i 's/^dtoverlay=pi3-miniuart-bt/#dtoverlay=pi3-miniuart-bt/' /boot/config.txt + printf "Done!\n"