Nick Hainke
69c81790d1
wg-installer: rework code
...
Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-20 02:04:50 +01:00
Nick Hainke
b89eb0115f
wg-installer: switch to ubus call for olsrd hotplug
...
Use ubus ipc calls to add and remove interfaces.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-16 11:05:27 +01:00
Nick Hainke
ee879d3747
wg-installer: allow defining link costs for hotplugs
...
Add options to set link costs in mesh routing daemons.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-12 17:47:26 +01:00
Nick Hainke
5e8301d7dc
wg-installer: fix using symlinks for conf files
...
It is useful to symlink babeld and olsrd to /tmp/ if we frequently
write to those config files.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-11 00:27:43 +01:00
Nick Hainke
d35c22951b
wg-installer: add hotplug script for olsr
...
Add hotplug-olsrd to automatically mesh with olsrd via new wireguard
links.
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-01-06 22:24:08 +01:00