1 SYSTEMD_SERVICE_${PN} += " gpsdctl@.service"
4 # use the systemd compatible gpsd.rules
5 install -d ${D}/${sysconfdir}/udev/rules.d
6 install -m 0644 ${S}/gpsd.rules ${D}/${sysconfdir}/udev/rules.d/60-gpsd.rules
9 install -d ${D}${systemd_unitdir}/system/
10 install -m 0644 ${S}/systemd/gpsdctl@.service ${D}${systemd_unitdir}/system
12 #autoprobe usb gps devices
13 echo 'USBAUTO="true"' >> ${D}${sysconfdir}/default/gpsd.default