1
0
mirror of https://github.com/freifunk-gluon/packages.git synced 2024-06-13 10:49:17 +02:00

gluon-mesh-batman-adv: set bat0 MAC address to primary address

This commit is contained in:
Matthias Schiffer 2014-01-16 23:35:13 +01:00
parent 7197eb09dc
commit 249ce3982f

View File

@ -16,6 +16,11 @@ uci_set network client proto 'dhcpv6'
uci_set network client reqprefix 'no'
uci_set network client peerdns '0'
uci_set network client macaddr "$(sysconfig primary_mac)"
uci_add network interface bat0
uci_set network bat0 ifname 'bat0'
uci_set network bat0 proto 'none'
uci_set network bat0 macaddr "$(sysconfig primary_mac)"
uci_commit network
uci_add firewall zone client