interfaces: bring WLAN and MPD5 loading/reset points closer together
Largely these fill the same need: we run a daemon on that interface
(or a daemon that will create the software interface). Since WLAN
clones are created and reloaded earlier we are not bound to a random
place in the configure function and can eventually add a plugin hook
for this if it makes sense.
While here push the $linkup workaround down and add a comment on
why it is still needed. It would be nicer not having it but the
situation is pretty tough if the historic situation did not change.
interfaces: interfaces_wlan_clone() is already plugged
This means we call it during device creation and reloading, which
means we can remove it from interafaces_wlan_configure() so it loses
another side effect. Just needs the reconfigure script to run the
full configuration loop then.
While here unify the function syntax to interfaces_wlan_*().
openvpn: legacy CARP hook abort on empty interface
This can be moved to the plugin. Before we do that, however,
rename the file to make this more obvious since it was missed
up until now.
interfaces: return an empty string which cannot be an interface in convert_real_interface_to_friendly_interface_name()
Recent PHP warns on using a null index to an array anyway. This
folds nicely into config_read_array() use.
interfaces: loopback experiement
To make interfaces_configure() side effect free
we need to gather all information in the new
interfaces_dependencies() so we can debug and
simplify bootup.
We don't expose the device to the pluggable
device code, but in principle make it pluggable
as interfaces_dependencies() is a good point to
anchor it now.
interfaces: loopback experiement
To make interfaces_configure() side effect free
we need to gather all information in the new
interfaces_dependencies() so we can debug and
simplify bootup.