mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-26 23:13:27 +08:00
bacd7f82bc
Use the same name as for the SysVinit scripts. This name is also used in debian. linuxptp-system-clock.service -> phc2sys.service linuxptp.service -> ptp4l.service Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com> Tested-by: Carlos Santos <unixmania@gmail.com> Tested-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11 lines
225 B
Desktop File
11 lines
225 B
Desktop File
[Unit]
|
|
Description=Precision Time Protocol system clock synchronization
|
|
After=ptp4l.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/phc2sys -s /dev/ptp0 -c CLOCK_REALTIME -w -S 1.0
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|