The module autoload of batman-adv and batman-adv-legacy was removed. Instead
the gluon_bat0 netifd protocol script now takes care of loading either
the batman-adv or batman-adv-legacy kernel module depending on whether
BATMAN_IV/BATMAN_V or BATMAN_IV_LEGACY was selected.
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
We now create bat0 and primary0 independently of the lower mesh interfaces,
making the whole setup a lot more robust. In particular:
- we can't accidentially destroy primary0 because of concurrent setup and
teardown runs of different interfaces
- bat0 will always exist, even when no mesh interfaces are up (e.g. no link
on wired mesh)
- interfaces going down and up again will never tear down the whole of
batman-adv
- we can enable and disable bat0 independently of the lower interface
states