gluon-legacy: gluon-mesh-batman-adv: always set proto to dhcpv6
This commit is contained in:
parent
fc7cd56031
commit
a045ec6549
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user