gluon-mesh-batman-adv: enable routing algorithm configuration
This commit is contained in:
parent
fd3b05d352
commit
ccf32fb519
@ -14,12 +14,12 @@ proto_gluon_bat0_renew() {
|
|||||||
local config="$1"
|
local config="$1"
|
||||||
|
|
||||||
lock /var/lock/gluon_bat0.lock
|
lock /var/lock/gluon_bat0.lock
|
||||||
|
|
||||||
local routing_algo="$(uci get batman-adv.bat0.routing_algo)"
|
local routing_algo="$(uci get batman-adv.bat0.routing_algo)"
|
||||||
|
|
||||||
echo "The algo is set to $routing_algo"
|
echo "The algo is set to $routing_algo"
|
||||||
|
|
||||||
echo $routing_algo > /sys/module/batman_adv/parameters/routing_algo
|
echo $routing_algo > /sys/module/batman_adv/parameters/routing_algo
|
||||||
|
|
||||||
local ifdump="$(ubus call network.interface dump)"
|
local ifdump="$(ubus call network.interface dump)"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user