and MDEV?
Please consider the MDEV hotplug chain as a possible means to implement your ideas. Its better structure and design seems well suited for your plans.
The current mdev implementation has a special directory, /lib/mdev/interface, that is to contains scripts that provide a AVM...