A standalone sfptpdctl
client is supplied:
- In the tarball distribution, this client is located in the install directory.
- In the RPM distribution, this client is located in /usr/sbin.
To run, invoke with the desired control command:
sfptpdctl <command>
To select a sync module instance named ptpdomain1
:
sfptpdctl selectinstance=ptpdomain1
Standalone Client Source Code
C source code for the standalone client is supplied as sfptpdctl.c:
- In the tarball distribution, this source code is located in the examples subdirectory of the install directory.
- In the RPM distribution, this source code is located in the /usr/share/doc/packages/sfptpd/examples directory.
To build, run make
in that directory.