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
1 changed files with 5 additions and 0 deletions

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