From 604e3caceb5dd35ff911e7a7f6a09f4cac377288 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 13 Jan 2014 18:01:44 +0100 Subject: [PATCH] gluon-mesh-batman-adv: disable client interface in dnsmasq --- .../lib/gluon/upgrade/mesh-batman-adv/initial/010-mesh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 b64a23ba..d721264f 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,7 +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_commit network +uci_add dhcp dhcp client +uci_set dhcp client interface 'client' +uci_set dhcp client ignore '1' +uci_commit dhcp + echo 'net.ipv6.conf.br-client.forwarding=0' >> /etc/sysctl.conf