Update position from linux command line shellscript

Hi guys, i wrote a little shellscript: https://pastebin.com/wS6HW5KL

This script should be able to run on any distribution with gpsd and gpsctl commands.

I put this line in my /etc/rc.local

/root/phonetracker.sh &

so it runs every bootup automatically