[OpenWrt-Devel] [PATCH libubox] hotplug: add hotplug_call() helper
yszhou4tech at gmail.com
Thu Dec 6 22:41:18 EST 2018
On Thu, 6 Dec 2018 at 20:42, Rafał Miłecki <zajec5 at gmail.com> wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 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
. As such, I cannot find enough other places needing this function
to make it into libubox.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel