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

13 lines
129 B
Text

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