On Apr 30, Tilman Koschnick <[EMAIL PROTECTED]> wrote:

> I assume /lib/udev/hotplug.functions is not guarenteed to be around on
> other distributions? I want to pass my changes upstream, so I don't
> source /lib/udev/hotplug.functions, but duplicate the wait_for_file
> function.
Correct. OTOH, other distributions usually do not support a standalone
/usr or re-run the failed events, so it might not matter.


> + CONTROL_SOCKET = "/var/run/gpsd.sock"
So your wrapper needs to wait for /var too.

> +wait_for_python && /lib/udev/gpsd.hotplug "$ACTION" "$DEVNAME"
wait_for_python && exec /lib/udev/gpsd.hotplug "$ACTION" "$DEVNAME"


-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to