Merge branch 'stebifan-patch-1' of github.com:Freifunk-Troisdorf/ansible.fftdf.supernode into stebifan-patch-1
This commit is contained in:
commit
17893e5e7c
@ -1,29 +1,8 @@
|
||||
#!/bin/bash
|
||||
INTERFACE="$3"
|
||||
#MAC="$8"
|
||||
#BLACKLISTFILE=/opt/freifunk/blockliste.txt
|
||||
batctl=/usr/local/sbin/batctl
|
||||
MAC="$8"
|
||||
brctl=/sbin/brctl
|
||||
#if [ -f /opt/freifunk/blockliste.txt ]
|
||||
|
||||
#if [ -f $BLACKLISTFILE ]
|
||||
# then
|
||||
# BLOCKLISTE=$(cat /opt/freifunk/blockliste.txt)
|
||||
# else
|
||||
# touch=$BLOCKLISTE
|
||||
#fi
|
||||
|
||||
#for i in $BLOCKLISTE;
|
||||
#do
|
||||
# if [[ $i == $MAC ]]; then
|
||||
# exit 1
|
||||
# fi
|
||||
#done
|
||||
|
||||
#ip link set address {{ sn_mesh_MAC }} dev $INTERFACE
|
||||
#ifconfig $INTERFACE hw ether {{ sn_mesh_MAC }}
|
||||
/bin/ip link set dev $INTERFACE up mtu 1312
|
||||
#/sbin/sysctl net.ipv4.conf.$INTERFACE.rp_filter=0
|
||||
#$batctl if add $INTERFACE
|
||||
#echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
|
||||
$brctl addif br-nodes $INTERFACE
|
||||
|
Loading…
Reference in New Issue
Block a user