remove GPS from OSZ :)
This commit is contained in:
parent
334972f649
commit
748ec17bfa
|
@ -211,22 +211,23 @@ sudo chmod +x /etc/init.d/dride-core
|
||||||
sudo update-rc.d dride-core defaults
|
sudo update-rc.d dride-core defaults
|
||||||
sudo rm dride-core
|
sudo rm dride-core
|
||||||
|
|
||||||
|
if [ ${OS_TYPE} == "drideOS" ]; then
|
||||||
# drideOS-resize on startup
|
# drideOS-resize on startup
|
||||||
sudo cp drideOS-resize /etc/init.d/drideOS-resize
|
sudo cp drideOS-resize /etc/init.d/drideOS-resize
|
||||||
sudo chmod +x /etc/init.d/drideOS-resize
|
sudo chmod +x /etc/init.d/drideOS-resize
|
||||||
sudo update-rc.d drideOS-resize defaults
|
sudo update-rc.d drideOS-resize defaults
|
||||||
sudo rm drideOS-resize
|
sudo rm drideOS-resize
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sudo pip install pyserial
|
||||||
|
|
||||||
|
if [ ${OS_TYPE} == "drideOS" ]; then
|
||||||
## GPS https://www.raspberrypi.org/forums/viewtopic.php?p=947968#p947968
|
## GPS https://www.raspberrypi.org/forums/viewtopic.php?p=947968#p947968
|
||||||
echo "========== Install GPS ============"
|
echo "========== Install GPS ============"
|
||||||
sudo apt-get install gpsd gpsd-clients cmake subversion build-essential espeak freeglut3-dev imagemagick libdbus-1-dev libdbus-glib-1-dev libdevil-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgarmin-dev libglc-dev libgps-dev libgtk2.0-dev libimlib2-dev libpq-dev libqt4-dev libqtwebkit-dev librsvg2-bin libsdl-image1.2-dev libspeechd-dev libxml2-dev ttf-liberation -y
|
sudo apt-get install gpsd gpsd-clients cmake subversion build-essential espeak freeglut3-dev imagemagick libdbus-1-dev libdbus-glib-1-dev libdevil-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libgarmin-dev libglc-dev libgps-dev libgtk2.0-dev libimlib2-dev libpq-dev libqt4-dev libqtwebkit-dev librsvg2-bin libsdl-image1.2-dev libspeechd-dev libxml2-dev ttf-liberation -y
|
||||||
|
|
||||||
sudo pip install pyserial
|
|
||||||
|
|
||||||
|
|
||||||
echo "" >> /boot/config.txt
|
echo "" >> /boot/config.txt
|
||||||
echo "core_freq=250" >> /boot/config.txt
|
echo "core_freq=250" >> /boot/config.txt
|
||||||
|
@ -248,7 +249,7 @@ sudo systemctl disable gpsd.socket
|
||||||
# 5) Execute the daemon reset
|
# 5) Execute the daemon reset
|
||||||
#sudo killall gpsd
|
#sudo killall gpsd
|
||||||
#sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
|
#sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user