#!/bin/sh . /lib/functions.sh . /lib/gluon/functions/sysconfig.sh uci_add network interface client uci_set network client ifname "$(sysconfig lan_ifname) bat0" uci_set network client type 'bridge' 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)" echo 'net.ipv6.conf.br-client.forwarding=0' >> /etc/sysctl.conf