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 4b61062636
commit 4ca8a35fc9

View File

@ -16,6 +16,11 @@ uci_set network client proto 'dhcpv6'
uci_set network client reqprefix 'no' uci_set network client reqprefix 'no'
uci_set network client peerdns '0' uci_set network client peerdns '0'
uci_set network client macaddr "$(sysconfig primary_mac)" 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_commit network
uci_add firewall zone client uci_add firewall zone client