Update config fix enable disable gpsd

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

@ -1788,8 +1788,8 @@ elif [ "$1" = "-u" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
echo "gpsd set to ON" echo "gpsd set to ON"
sudo systemctl disable gpsd sudo systemctl enable gpsd
sudo systemctl disable gpsd.socket sudo systemctl enable gpsd.socket
reboot=1 reboot=1
fi fi
@ -1802,8 +1802,8 @@ elif [ "$1" = "-u" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
echo "gpsd set to OFF" echo "gpsd set to OFF"
sudo systemctl enable gpsd sudo systemctl disable gpsd
sudo systemctl enable gpsd.socket sudo systemctl disable gpsd.socket
reboot=1 reboot=1
fi fi

Loading…
Cancel
Save

Powered by TurnKey Linux.