mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-15 19:54:07 +02:00
19 lines
349 B
Bash
Executable File
19 lines
349 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
. /lib/functions.sh
|
|
. /lib/gluon/functions/sysconfig.sh
|
|
|
|
|
|
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_set network client proto 'dhcpv6'
|
|
uci_set network client reqprefix 'no'
|
|
fi
|
|
|
|
uci_commit network
|