forked from freifunk-franken/firmware
Remove batman option no_rebroadcast
This sysfs option no longer exists. The no_rebroadcast option was used as part of gluon’s batman-adv-legacy implementation, after open-mesh decided to not include it into batman-adv v14: https://patchwork.open-mesh.org/patch/3434/ Our firmware has included (and enabled) it since December 2013. With the upgrade to batman-adv v15 (pulled from openwrt-routing then) in October 2017, the custom patch was no longer included. It looks like open-mesh provides an equivalent built-in solution now: https://git.open-mesh.org/batman-adv.git/commit/a00797d8fa8fd1471e8be1ac23d506f76d866aaa Thus, the option can be removed. Signed-off-by: Robert Langhammer <rlanghammer@web.de> Reviewed-by: Christian Dresel <fff@chrisi01.de>
This commit is contained in:
parent
672e7a2f9b
commit
eed0705407
|
@ -22,6 +22,5 @@ EOF
|
|||
ln -s /tmp/fastd_fff_peers /etc/fastd/fff/peers
|
||||
echo "#!/bin/sh" > /etc/fastd/fff/up.sh
|
||||
echo "ip link set up dev fffVPN" >> /etc/fastd/fff/up.sh
|
||||
echo "echo enable > /sys/devices/virtual/net/fffVPN/batman_adv/no_rebroadcast" >> /etc/fastd/fff/up.sh
|
||||
echo "batctl if add fffVPN" >> /etc/fastd/fff/up.sh
|
||||
chmod +x /etc/fastd/fff/up.sh
|
||||
|
|
|
@ -6,5 +6,4 @@ INTERFACE=$2
|
|||
if [ "$HOOK" = session.up ]; then
|
||||
ip l s dev $INTERFACE up
|
||||
batctl if add $INTERFACE
|
||||
echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue