fff-babeld: use functions for setting initial rules and filters #83

Closed
adschm wants to merge 1 commits from adschm/firmware:babeluci into master

1 Commits

Author SHA1 Message Date
Adrian Schmutzler c982b81fe8 fff-babeld: use functions for setting initial rules and filters
The current initial setup for fff-babeld is quite static, hard
to adjust and full of redundancy. Make it more flexible and improve
general readability by using functions.
These may be reused by other routines or scripts later.

This also drops the static file /etc/config/babeld that was replacing
an existing babeld config file, and moves the code to the already
existing uci-defaults script. With this step, it will be easier to
add conditionals to the uci-defaults script when the original file
should not be overwritten later.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-09 23:21:44 +01:00