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>
This commit is contained in:
Nick Hainke
2021-02-07 20:47:59 +01:00
committed by Polynomdivision
parent 6b9fdf2e77
commit 3ebc568f18
3 changed files with 47 additions and 0 deletions
+4
View File
@@ -24,3 +24,7 @@ Get Usage Statistics
Register Tunnel Interface
wg-client-installer register --ip 127.0.0.1 --user wginstaller --password wginstaller --bandwidth 10
## Hotplugs
- wg-installer-server-hotplug-babeld: mesh automatically via wireguard with babeld