Autodetect mesh/lan/wan device
Autoconfiguration scripts should also decide which network devices are gonna be used as mesh/lan/wan.
Right now they are just applying the configuration from interfaces section of the config file.
Maybe this feature should be made in LUA using the new API.
Note: use OpenWrt's board.d settings