pmaports/device/main/device-pine64-pinephone/gpsd_pinephone.initd

14 lines
129 B
Text
Raw Normal View History

#!/sbin/openrc-run
depend() {
after gpsd
}
start() {
gpsdctl add /dev/EG25.NMEA
}
stop() {
gpsdctl remove /dev/EG25.NMEA
}