This file shows how to configure sfptpd to act as
a PTP slave, with fallback to chrony:
- A crny sync module is instantiated using the
sync_moduleoption:- The
clock_controlfor chronyd is enabled. - A low
priorityis set for this sync module to avoid falling back based on quantitative performance alone.
- The
- A PTP sync module is instantiated using the
sync_moduleoption. - The PTP sync module is configured to act as a PTP slave by using the
ptp_modeoption. - A
selection_holdoff_intervalis set to avoid switching on transient changes because restarting chronyd is disruptive.