On Thu, 6 Dec 2018 at 20:42, Rafał Miłecki <[email protected]> wrote: > > From: Rafał Miłecki <[email protected]> > > This new function imlements common code needed to run /etc/hotplug.d/ > listeners. It allows specifying subsystem and environment strings as > commonly used in the hotplug.d.
hotplug-call is currently a OpenWrt-specific shell script from base-files. A library function's dependence on exact name and path of non-standard executable does not seem fit. Hotplug events from the kernel is already being handled by hotplug.json script. Events from non-standard subsystem like "iface" as defined by netifd are generated and handled fine just by itself [1]. As such, I cannot find enough other places needing this function to make it into libubox. [1] https://git.openwrt.org/?p=project/netifd.git;a=blob;f=interface-event.c;h=a40f6dc883d3a3654d73d0592cd7eb65c2a8de85;hb=HEAD#l45 yousong _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
