![Petr Kulhavy](/assets/img/avatar_default.png)
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>
12 lines
266 B
Desktop File
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
|