Here are some small improvements for the timemaster program I had in
my todo list. The first extends possibilities for configuration of
individual PTP/NTP sources, the second is useful to avoid conflicts
with time sources that are not started by timemaster (e.g. gpsd), and
the third one should allo
Assume only the chronyd or ntpd process is essential for synchronization
of the system clock and ignore SIGCHLD from other processes. This should
provide resiliency against possible bugs in ptp4l or phc2sys that can
terminate the processes.
Signed-off-by: Miroslav Lichvar
---
timemaster.c | 31 +
This allows using a sequence of SHM segments that starts with a number
larger than zero, which can be useful to avoid conflicts with time
sources that are not started by timemaster, e.g. gpsd using segments
number 0 and 1.
Signed-off-by: Miroslav Lichvar
---
timemaster.8 | 8
timemaste
Instead of trying to support all options of the server and refclock
directives in both NTP implementations, add an "ntp_options" option
which specifies a string that is added directly to the lines in the
chronyd/ntpd configuration file.
Signed-off-by: Miroslav Lichvar
---
timemaster.8 | 14 +