gluon-mesh-batman-adv: set bat0 MAC address to primary address
This commit is contained in:
parent
4b61062636
commit
4ca8a35fc9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user