gluon-mesh-batman-adv: enable routing algorithm configuration

added the usage of the config supplied in the uci config
This commit is contained in:
Steffen Förster 2017-07-17 23:58:00 +02:00
parent cc25e854f4
commit 3ee7631fe2

View File

@ -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 \