From 4ca8a35fc98888601694ed3c7165271524f0bdec Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 16 Jan 2014 23:35:13 +0100 Subject: [PATCH] gluon-mesh-batman-adv: set bat0 MAC address to primary address --- .../files/lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/gluon-mesh-batman-adv/files/lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh b/package/gluon-mesh-batman-adv/files/lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh index 3e3da515..4c5c5158 100755 --- a/package/gluon-mesh-batman-adv/files/lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh +++ b/package/gluon-mesh-batman-adv/files/lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh @@ -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