wg-installer: add babeld hotplug.d script
authorNick Hainke <vincent@systemli.org>
Sun, 7 Feb 2021 19:47:59 +0000 (20:47 +0100)
committerPolynomdivision <vincent@systemli.org>
Mon, 8 Feb 2021 10:38:36 +0000 (11:38 +0100)
commit3ebc568f18c2c5b9f73dbbdbf12f58ca885a00fd
tree31aab9be59c33c39f7e9ae11b07e6d16586f98a0
parent6b9fdf2e77cdccb74902b84938d1744d8b8aafea
wg-installer: add babeld hotplug.d script

Add a hotplug.d-extension that automatically configures babeld for
meshing via wireguard interfaces.

It checks for "add" and "remove" of a wireguard interface with name
"wg_*". Depending on the action, it removes it from the babeld config
or adds the interface and reloads babeld.

Signed-off-by: Nick Hainke <vincent@systemli.org>
net/wg-installer/Makefile
net/wg-installer/README.md
net/wg-installer/wg-server/hotplug.d/99-mesh-babeld [new file with mode: 0644]