gluon-mesh-batman-adv: set bat0 MAC address to primary address
This commit is contained in:
parent
7197eb09dc
commit
249ce3982f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue