mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
GPS - Initial GPS configuration
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
START_DAEMON="true"
|
||||||
|
USBAUTO="false"
|
||||||
|
DEVICES="/dev/et-gps"
|
||||||
|
GPSD_OPTIONS="-n"
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=GPS (Global Positioning System) Daemon
|
||||||
|
Requires=gpsd.socket
|
||||||
|
After=chronyd.service
|
||||||
|
ConditionPathExists=/dev/et-gps
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=forking
|
||||||
|
EnvironmentFile=/etc/default/gpsd
|
||||||
|
ExecStart=/usr/sbin/gpsd $GPSD_OPTIONS $OPTIONS $DEVICES
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Also=gpsd.socket
|
||||||
Reference in New Issue
Block a user