Update config add -u to -h

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

@ -1693,7 +1693,7 @@ elif [ "$1" = "-u" ]; then
echo "Change gpsd state" echo "Change gpsd state"
echo echo
if [[ $(sudo systemctl is-active gpsd.socket | grep inactive) ]]; then if [[ $(sudo systemctl is-active d.socket | grep inactive) ]]; then
echo "gpsd is inactive" echo "gpsd is inactive"
echo echo
echo "Do you want to turn gpsd to ON (y/n) " echo "Do you want to turn gpsd to ON (y/n) "
@ -1705,7 +1705,7 @@ elif [ "$1" = "-u" ]; then
sudo systemctl enable gpsd sudo systemctl enable gpsd
sudo systemctl enable gpsd.socket sudo systemctl enable gpsd.socket
echo echo
echo "Unless you configure gpsd otherwise, the gps 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"
echo echo
reboot=1 reboot=1
@ -1768,6 +1768,7 @@ elif [ "$1" = "-h" ]; then
echo " -M Set simulated failure mode" echo " -M Set simulated failure mode"
echo " -U Change the random failure mode setting" echo " -U Change the random failure mode setting"
echo " -N Set next mode or failure" echo " -N Set next mode or failure"
echo " -u Change gpsd state"
echo echo
exit exit

Loading…
Cancel
Save

Powered by TurnKey Linux.