<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/linuxptp/files/sysclock-discipline-check.c, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-10-24T13:59:03Z</updated>
<entry>
<title>linuxptp: fix init script bugs and address review feedback</title>
<updated>2026-10-24T13:59:03Z</updated>
<author>
<name>Aleks Mariusz</name>
</author>
<published>2026-08-17T10:53:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=b63bea16a0f89d35ebc5eb5ddab9a1dead1f5ee1'/>
<id>urn:sha1:b63bea16a0f89d35ebc5eb5ddab9a1dead1f5ee1</id>
<content type='text'>
- ptp4l.init: move procd_open_instance block to after validation so
  clock-sync wait and config-generation failures actually prevent startup
- ptp4l.init: add mkdir -p for /var/etc before writing ptp4l.conf
- phc2sys.init: propagate make_cmdline failure to prevent launch with
  an incomplete command line
- Both init scripts: add service_triggers() for reload_config support
- ptp4l.init: quote all variable expansions in [ ] tests
- sysclock-discipline-check.c: zero-initialise struct timex via
  memset, use int main(void), drop unused stdlib.h, cast txc.status
  to unsigned int for printf
- linuxptp.config: comment out the active ptp_interface/interface
  option so services do not auto-start on upgrade without explicit
  admin opt-in
- linuxptp.config: comment out active list extra_args and document
  clock_sync_check_interval and ptp4l extra_args options
- Fix typos: exitting-&gt;exiting, syncronized-&gt;synchronized
- ptp4l stop_service: remove generated config file on stop

Signed-off-by: Aleks Mariusz &lt;a+git-commit@alek.cx&gt;
</content>
</entry>
<entry>
<title>linuxptp: add config &amp; init scripts for ptp4l and phc2sys</title>
<updated>2026-10-24T13:59:03Z</updated>
<author>
<name>Aleks Mariusz</name>
</author>
<published>2026-08-14T19:54:25Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=5eac6af978c8e84ed634b7cce4d755118d5956fd'/>
<id>urn:sha1:5eac6af978c8e84ed634b7cce4d755118d5956fd</id>
<content type='text'>
This adds configuration and init scripts for ptp4l and phc2sys, the
daemons included with the linuxptp package.

A helper utility (sysclock-discipline-check) delays ptp4l startup when
in 'server' mode until the kernel confirms clock accuracy. This is
critical for systems without RTC that boot with incorrect timestamps.

Signed-off-by: Aleks Mariusz &lt;a+git-commit@alek.cx&gt;
</content>
</entry>
</feed>
