Update update add gpsd install

pi-sensors-auto-gps
Alan Johnston 2 days ago committed by GitHub
parent e10f0d83a3
commit d378dec448
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -31,7 +31,7 @@ if [ "$1" = "u" ]; then
# sudo apt-get update && sudo apt-get dist-upgrade -y # sudo apt-get update && sudo apt-get dist-upgrade -y
sudo apt-get update -y sudo apt-get update -y
sudo apt-get install -y git libasound2-dev i2c-tools build-essential libgd-dev libmagic-dev python3-pip minicom sudo apt-get install -y git libasound2-dev i2c-tools build-essential libgd-dev libmagic-dev python3-pip minicom gpsd gpsd-clients libgps-dev
fi fi
@ -49,6 +49,8 @@ sudo sed -i 's/console=tty1 r/console=tty1 maxcpus=1 r/g' /boot/cmdline.txt # si
sudo sed -i 's/maxcpus=2/maxcpus=1/g' /boot/cmdline.txt # single core if Pi Zero 2 sudo sed -i 's/maxcpus=2/maxcpus=1/g' /boot/cmdline.txt # single core if Pi Zero 2
sudo sed -i 's/DEVICES=""/DEVICES="/dev/serial0"/g' /etc/default/gpsd
cd /home/pi/CubeSatSim cd /home/pi/CubeSatSim
git pull --no-rebase > .updated git pull --no-rebase > .updated

Loading…
Cancel
Save

Powered by TurnKey Linux.