Skip to content
Snippets Groups Projects
Commit eed07054 authored by Robert Langhammer's avatar Robert Langhammer Committed by Adrian Schmutzler
Browse files

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: default avatarRobert Langhammer <rlanghammer@web.de>
Reviewed-by: default avatarChristian Dresel <fff@chrisi01.de>
parent 672e7a2f
No related branches found
No related tags found
No related merge requests found
...@@ -22,6 +22,5 @@ EOF ...@@ -22,6 +22,5 @@ EOF
ln -s /tmp/fastd_fff_peers /etc/fastd/fff/peers ln -s /tmp/fastd_fff_peers /etc/fastd/fff/peers
echo "#!/bin/sh" > /etc/fastd/fff/up.sh echo "#!/bin/sh" > /etc/fastd/fff/up.sh
echo "ip link set up dev fffVPN" >> /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 echo "batctl if add fffVPN" >> /etc/fastd/fff/up.sh
chmod +x /etc/fastd/fff/up.sh chmod +x /etc/fastd/fff/up.sh
...@@ -6,5 +6,4 @@ INTERFACE=$2 ...@@ -6,5 +6,4 @@ INTERFACE=$2
if [ "$HOOK" = session.up ]; then if [ "$HOOK" = session.up ]; then
ip l s dev $INTERFACE up ip l s dev $INTERFACE up
batctl if add $INTERFACE batctl if add $INTERFACE
echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment