Since upstream commit [1] ("Deprecate the slaveOnly option in favor
of clientOnly."), included in v4.0, ptp4l complains about the
"slaveOnly" option being deprecated on startup.
Update the default config to silence this warning.
[1] fe01cc7c96
Signed-off-by: Florian Larysch <fl@n621.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
(cherry picked from commit f70b83914f)
Signed-off-by: Titouan Christophe <titouan.christophe@mind.be>
20 lines
615 B
INI
20 lines
615 B
INI
# LinuxPTP configuration file for synchronizing the system clock to
|
|
# a remote PTP master in slave-only mode.
|
|
#
|
|
# By default synchronize time in slave-only mode using UDP and hardware time
|
|
# stamps on eth0. If the difference to master is >1.0 second correct by
|
|
# stepping the clock instead of adjusting the frequency.
|
|
#
|
|
# If you change the configuration don't forget to update the phc2sys
|
|
# parameters accordingly in linuxptp-system-clock.service (systemd)
|
|
# or the linuxptp SysV init script.
|
|
|
|
[global]
|
|
clientOnly 1
|
|
delay_mechanism Auto
|
|
network_transport UDPv4
|
|
time_stamping hardware
|
|
step_threshold 1.0
|
|
|
|
[eth0]
|