debian - Programmatically start GPSD daemon in linux -


i doing project read gps values output gps dongle , need programmatically start gpsd daemon.

i.e. need automate following command; sudo gpsd /dev/ttyusb0 -f /var/run/gpsd.sock

i able read coordinates through code after manually starting daemon above. don't know how start daemon through code.

for debian just

dpkg-reconfigure gps 

Comments