Update config added gpsd start and stop

master-psag-continuous
Alan Johnston 2 weeks ago committed by GitHub
parent e39495ace5
commit afbc84c438
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1704,6 +1704,8 @@ elif [ "$1" = "-u" ]; then
echo "gpsd set to ON" echo "gpsd set to ON"
sudo systemctl enable gpsd sudo systemctl enable gpsd
sudo systemctl enable gpsd.socket sudo systemctl enable gpsd.socket
sudo systemctl start gpsd
sudo systemctl start gpsd.socket
echo echo
echo "Unless you configure gpsd otherwise, the is connected to serial0 on the Pi." echo "Unless you configure gpsd otherwise, the is connected to serial0 on the Pi."
echo "To monitor your gps device, use the command gpsmon" echo "To monitor your gps device, use the command gpsmon"
@ -1722,6 +1724,8 @@ elif [ "$1" = "-u" ]; then
echo "gpsd set to OFF" echo "gpsd set to OFF"
sudo systemctl disable gpsd sudo systemctl disable gpsd
sudo systemctl disable gpsd.socket sudo systemctl disable gpsd.socket
sudo systemctl stop gpsd
sudo systemctl stop gpsd.socket
reboot=1 reboot=1
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.