2013-10-01 21:37:45 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-10-03 19:02:06 +02:00
|
|
|
. /lib/functions.sh
|
2013-10-01 21:37:45 +02:00
|
|
|
. /lib/gluon/functions/sysconfig.sh
|
|
|
|
|
|
|
|
|
2013-10-03 19:02:06 +02:00
|
|
|
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)"
|
2014-01-16 23:35:13 +01:00
|
|
|
|
2014-01-11 14:01:23 +01:00
|
|
|
echo 'net.ipv6.conf.br-client.forwarding=0' >> /etc/sysctl.conf
|