ansible.fftdf.supernode/files/bataddif.sh.j2

9 lines
212 B
Plaintext
Raw Normal View History

2015-11-28 14:25:29 +00:00
#!/bin/bash
INTERFACE="$3"
2016-01-26 23:48:21 +00:00
MAC="$8"
2016-01-24 21:37:34 +00:00
brctl=/sbin/brctl
2015-12-13 12:33:33 +00:00
/bin/ip link set dev $INTERFACE up mtu 1312
2016-01-24 21:37:34 +00:00
#echo "enabled" > /sys/devices/virtual/net/$INTERFACE/batman_adv/no_rebroadcast
2016-01-24 21:39:36 +00:00
$brctl addif br-nodes $INTERFACE