gluon-mesh-batman-adv: remove obsolete no_rebroadcast setting
This commit is contained in:
parent
abf46c5f42
commit
f715a58fdb
@ -30,11 +30,6 @@ proto_gluon_bat0_renew() {
|
|||||||
read data
|
read data
|
||||||
|
|
||||||
echo bat0 > "/sys/class/net/$dev/batman_adv/mesh_iface"
|
echo bat0 > "/sys/class/net/$dev/batman_adv/mesh_iface"
|
||||||
|
|
||||||
! [ "$(echo "$data" | jsonfilter -e "@.transitive")" = 'true' ]
|
|
||||||
transitive=$?
|
|
||||||
|
|
||||||
(echo "$transitive" > "/sys/class/net/$dev/batman_adv/no_rebroadcast") 2>/dev/null
|
|
||||||
done
|
done
|
||||||
|
|
||||||
lock -u /var/lock/gluon_bat0.lock
|
lock -u /var/lock/gluon_bat0.lock
|
||||||
|
Loading…
Reference in New Issue
Block a user