X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/1b2cabb898fa4583a3c74770810ec109a1ae17ec..85439fb1907acf97eba629f9432cf824d9ebf28c:/uninstall.sh?ds=inline 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"