gluon-legacy: gluon-mesh-batman-adv: always set proto to dhcpv6

This commit is contained in:
Matthias Schiffer 2014-02-23 18:57:17 +01:00
parent fc7cd56031
commit a045ec6549

View File

@ -7,12 +7,10 @@
uci_rename network '@legacy.mesh_ifname@' 'client'
if [ "$(uci_get network client proto)" = 'none' ]; then
uci_remove network client auto
uci_remove network client accept_ra
uci_remove network client auto
uci_remove network client accept_ra
uci_set network client proto 'dhcpv6'
uci_set network client reqprefix 'no'
fi
uci_set network client proto 'dhcpv6'
uci_set network client reqprefix 'no'
uci_commit network