|
|
@ -279,6 +279,8 @@ set_easymesh() {
|
|
|
|
uci del network.lan.ipaddr
|
|
|
|
uci del network.lan.ipaddr
|
|
|
|
uci del network.lan.netmask
|
|
|
|
uci del network.lan.netmask
|
|
|
|
uci set network.lan.proto='dhcp'
|
|
|
|
uci set network.lan.proto='dhcp'
|
|
|
|
|
|
|
|
#uci set dhcp.lan.dynamicdhcp='0'
|
|
|
|
|
|
|
|
#uci set dhcp.lan.ignore='1'
|
|
|
|
uci set system.@system[0].hostname=$gateway
|
|
|
|
uci set system.@system[0].hostname=$gateway
|
|
|
|
uci set network.lan.hostname="`uci get system.@system[0].hostname`"
|
|
|
|
uci set network.lan.hostname="`uci get system.@system[0].hostname`"
|
|
|
|
|
|
|
|
|
|
|
|