blob: 85b804113fdbc927b866db02077306dfacebbb5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# The GPSD_* parameters in this file are ignored
# if the uBlox GPS is not present.
# Require a GPS lock/fix before starting NTP
# This is needed if we are not using NTP servers.
# NTP will not work with the GPS if the GPS is not
# locked before starting.
GPSD_REQUIRED=1
# Number of seconds to wait before checking if
# the GPS has a lock.
GPSD_WAIT_TIME=120
# Since the HW Clock could be off by a second or
# so, our GPS might get marked as a false ticker
# if we do not set the system clock to the GPS
# first. The current correct way to do this
# according to the GPS doc is ntpd -gq
# which must be done before ntpd is started.
# ntpd -gq apparently does not work with the GPS
# when tested with the clock one day off and no
# ntpd.
# If there is a uBlox GPS present, the time is
# read from the GPS to initialize the system time.
SET_SYSTEM_CLOCK=1
|