gluon-web-network: remove legacy option for wired mesh
This commit is contained in:
parent
aeae9df001
commit
5d92f125cd
@ -55,11 +55,5 @@ msgstr "Statisch"
|
|||||||
msgid "Static DNS servers"
|
msgid "Static DNS servers"
|
||||||
msgstr "Statische DNS-Server"
|
msgstr "Statische DNS-Server"
|
||||||
|
|
||||||
msgid "Use legacy mode for LAN meshing"
|
|
||||||
msgstr "Veralteter Modus (LAN-Mesh)"
|
|
||||||
|
|
||||||
msgid "Use legacy mode for WAN meshing"
|
|
||||||
msgstr "Veralteter Modus (WAN-Mesh)"
|
|
||||||
|
|
||||||
msgid "WAN connection"
|
msgid "WAN connection"
|
||||||
msgstr "WAN-Verbindung"
|
msgstr "WAN-Verbindung"
|
||||||
|
@ -55,11 +55,5 @@ msgstr "Statique"
|
|||||||
msgid "Static DNS servers"
|
msgid "Static DNS servers"
|
||||||
msgstr "Adresse DNS statique"
|
msgstr "Adresse DNS statique"
|
||||||
|
|
||||||
msgid "Use legacy mode for LAN meshing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Use legacy mode for WAN meshing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "WAN connection"
|
msgid "WAN connection"
|
||||||
msgstr "Connexion WAN"
|
msgstr "Connexion WAN"
|
||||||
|
@ -46,11 +46,5 @@ msgstr ""
|
|||||||
msgid "Static DNS servers"
|
msgid "Static DNS servers"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Use legacy mode for LAN meshing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Use legacy mode for WAN meshing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "WAN connection"
|
msgid "WAN connection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -83,14 +83,6 @@ function mesh_wan:write(data)
|
|||||||
uci:set("network", "mesh_wan", "disabled", not data)
|
uci:set("network", "mesh_wan", "disabled", not data)
|
||||||
end
|
end
|
||||||
|
|
||||||
local mesh_wan_legacy = s:option(Flag, "mesh_wan_legacy", translate("Use legacy mode for WAN meshing"))
|
|
||||||
mesh_wan_legacy.default = mesh_wan.default and uci:get_bool("network", "mesh_wan", "legacy")
|
|
||||||
mesh_wan_legacy:depends(mesh_wan, true)
|
|
||||||
|
|
||||||
function mesh_wan_legacy:write(data)
|
|
||||||
uci:set("network", "mesh_wan", "legacy", data)
|
|
||||||
end
|
|
||||||
|
|
||||||
if sysconfig.lan_ifname then
|
if sysconfig.lan_ifname then
|
||||||
local s = f:section(Section)
|
local s = f:section(Section)
|
||||||
|
|
||||||
@ -112,14 +104,6 @@ if sysconfig.lan_ifname then
|
|||||||
|
|
||||||
uci:set_list("network", "client", "ifname", interfaces)
|
uci:set_list("network", "client", "ifname", interfaces)
|
||||||
end
|
end
|
||||||
|
|
||||||
local mesh_lan_legacy = s:option(Flag, "mesh_lan_legacy", translate("Use legacy mode for LAN meshing"))
|
|
||||||
mesh_lan_legacy.default = mesh_lan.default and uci:get_bool("network", "mesh_lan", "legacy")
|
|
||||||
mesh_lan_legacy:depends(mesh_lan, true)
|
|
||||||
|
|
||||||
function mesh_lan_legacy:write(data)
|
|
||||||
uci:set("network", "mesh_lan", "legacy", data)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local section
|
local section
|
||||||
|
Loading…
Reference in New Issue
Block a user