Update config fix enable disable gpsd

pi-sensors-auto-gps
Alan Johnston 1 day 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
echo "gpsd set to ON"
sudo systemctl disable gpsd
sudo systemctl disable gpsd.socket
sudo systemctl enable gpsd
sudo systemctl enable gpsd.socket
reboot=1
fi
@ -1802,8 +1802,8 @@ elif [ "$1" = "-u" ]; then
if [ "$reset" = "y" ] || [ "$reset" = "yes" ] ; then
echo "gpsd set to OFF"
sudo systemctl enable gpsd
sudo systemctl enable gpsd.socket
sudo systemctl disable gpsd
sudo systemctl disable gpsd.socket
reboot=1
fi

Loading…
Cancel
Save

Powered by TurnKey Linux.