gluon-mesh-batman-adv: enable routing algorithm configuration
added the usage of the config supplied in the uci config
This commit is contained in:
parent
cc25e854f4
commit
3ee7631fe2
@ -15,6 +15,12 @@ proto_gluon_bat0_renew() {
|
||||
|
||||
lock /var/lock/gluon_bat0.lock
|
||||
|
||||
local routing_algo="$(uci get batman-adv.bat0.routing_algo)"
|
||||
|
||||
echo "The algo is set to $routing_algo"
|
||||
|
||||
echo $routing_algo > /sys/module/batman_adv/parameters/routing_algo
|
||||
|
||||
local ifdump="$(ubus call network.interface dump)"
|
||||
|
||||
echo "$ifdump" | jsonfilter \
|
||||
|
Loading…
Reference in New Issue
Block a user