X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/blobdiff_plain/b17f34b42aa5e6ca959d8f3d748012c87d4d8999..0c5111f2f7b09f9e24ff9165aa3ad7ae803fb6a7:/install.sh?ds=inline diff --git a/install.sh b/install.sh index c1d36d6..1136de8 100755 --- a/install.sh +++ b/install.sh @@ -27,6 +27,10 @@ cd .. printf "Backing up $CONFIG\n" cp $CONFIG "config.preinstall-$DATESTAMP.txt" +printf "Setting up i2c and SPI..\n" +raspi-config nonint do_spi 0 +raspi-config nonint do_i2c 0 + printf "Setting up serial for PMS5003..\n" # Disable serial terminal over /dev/ttyAMA0 raspi-config nonint do_serial 1