diff options
| author | Petr Kulhavy <brain@jikos.cz> | 2017-06-07 20:44:29 +0200 |
|---|---|---|
| committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-11 15:57:16 +0200 |
| commit | 09f1b8011b580ae4ce21b6f0e716d69b86efa26a (patch) | |
| tree | 47b071c5d9aa072b5ae8a7f30a41f1af7b35c55a /package/linuxptp/linuxptp.service | |
| parent | 8a3accb72cd36271b0eb3a683f6a9301253654d8 (diff) | |
| download | buildroot-09f1b8011b580ae4ce21b6f0e716d69b86efa26a.tar.gz buildroot-09f1b8011b580ae4ce21b6f0e716d69b86efa26a.zip | |
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>
Diffstat (limited to 'package/linuxptp/linuxptp.service')
| -rw-r--r-- | package/linuxptp/linuxptp.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/linuxptp/linuxptp.service b/package/linuxptp/linuxptp.service new file mode 100644 index 0000000000..f690430633 --- /dev/null +++ b/package/linuxptp/linuxptp.service @@ -0,0 +1,11 @@ +[Unit] +Description=Precision Time Protocol daemon +After=syslog.target network.target +Wants=linuxptp-system-clock.service + +[Service] +ExecStart=/usr/sbin/ptp4l -f /etc/linuxptp.cfg +Restart=always + +[Install] +WantedBy=multi-user.target |

