<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/utils/gpsd/files/etc/hotplug.d, 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>2025-02-28T07:13:00Z</updated>
<entry>
<title>gpsd: add hotplug handling</title>
<updated>2025-02-28T07:13:00Z</updated>
<author>
<name>Florian Eckert</name>
</author>
<published>2025-01-30T10:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/feed/packages/commit/?id=d7fae1403012fbebd4f0399a8748312fa4d67143'/>
<id>urn:sha1:d7fae1403012fbebd4f0399a8748312fa4d67143</id>
<content type='text'>
The 'gpsd' offers the possibility to call the script '/etc/gpsd/device-hook'
when a GPS source was added or removed via gpsdctl.

In addition to the '/etc/gpsd/device-hook' call an event is now triggered
too after the 'gpsd' has started. This allows scripts to configurre 'gpsd'
receivers.

The following events are available for '/etc/hotplug.d/gpsd' scripts:

* ACTIVATE   via '/etc/gpsd/device-hook'
* DEACTIVATE via '/etc/gpsd/device-hook'
* STARTED    via '/etc/init.d/gpsd'

Signed-off-by: Florian Eckert &lt;fe@dev.tdt.de&gt;
</content>
</entry>
</feed>
