kumquat-buildroot/package/linuxptp/linuxptp-system-clock.service
Petr Kulhavy 09f1b8011b linuxptp: new package
Add the Linux PTP Project package.
http://linuxptp.sourceforge.net/

The SysV and systemd init scripts start the daemon in slave-only mode on eth0
and synchronize the system clock to PTP.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-06-11 15:57:16 +02:00

12 lines
266 B
Desktop File

[Unit]
Description=Precision Time Protocol system clock synchronization
After=syslog.target network.target
[Service]
ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0
Restart=always
[Install]
WantedBy=multi-user.target
WantedBy=linuxptp.service