<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/gpsd/files/usr, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git-03.infra.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/'/>
<updated>2026-03-02T12:36:30Z</updated>
<entry>
<title>gpsd: add wrapper script for hotplug/respawn handling</title>
<updated>2026-03-02T12:36:30Z</updated>
<author>
<name>Oliver Sedlbauer</name>
</author>
<published>2026-01-28T15:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=4faa1122695446f8e6d987c95801724997a20c9a'/>
<id>urn:sha1:4faa1122695446f8e6d987c95801724997a20c9a</id>
<content type='text'>
Gpsd needs some time to create its Unix socket after the process starts.
The hotplug call in service_started() is triggered too early, before the
socket is ready, causing failures in scripts that depend on it.

Additionally, when gpsd crashes and procd respawns it, service_started() is
not called again, so no hotplug event is emitted on respawn. Therefore scripts
listening for gpsd availability miss the STARTED event.

This commit ensures the hotplug call waits for the socket to appear,
so dependent scripts reliably see the STARTED event, even after respawns.

Signed-off-by: Oliver Sedlbauer &lt;os@dev.tdt.de&gt;
</content>
</entry>
</feed>
