openwrt / netifd

[MIRROR] OpenWrt Network interface configuration daemon
https://git.openwrt.org/?p=project/netifd.git;
17 stars 19 forks source link

Not seeing hotplug events for hardware NICs being detected #10

Open pprindeville opened 1 year ago

pprindeville commented 1 year ago

I'm trying to add support for remapping interfaces per ucidef_set_network_device_path for interfaces not marked "required for boot" in netdevices.mk (and therefore not present during preinit phase). This is most network interfaces.

I was going to add a generic hotplug script to handle the device creation events, but I only see add events for software interfaces (loopback, dummy, xfrm, etc.).

Please add support for regular hardware events as well.