gpsdcontrol is a simple python script for turn on/off che gps antenna and start/stop the gpsd daemon
You can download from: [1]
You can use repository [2] too