Update 'root/etc/init.d/easymesh'

pull/1/head
ben 1 year ago
parent ed5f0674d5
commit 2fc61b7052

@ -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`"

Loading…
Cancel
Save