修复modem在lede下配置的bug
This commit is contained in:
parent
39f47059d0
commit
682447971f
@ -18,9 +18,6 @@ enable = s:taboption("general", Flag, "enable", translate("Enable"))
|
||||
enable.default = "0"
|
||||
enable.rmempty = false
|
||||
|
||||
-- 配置ID
|
||||
uci:set('modem',arg[1],'id',arg[1])
|
||||
|
||||
-- 备注
|
||||
remarks = s:taboption("general", Value, "remarks", translate("Remarks"))
|
||||
remarks.rmempty = true
|
||||
@ -68,6 +65,14 @@ getMobileNetwork()
|
||||
|
||||
--------advanced--------
|
||||
|
||||
-- 配置ID
|
||||
id = s:taboption("advanced", Value, "id", translate("Config ID"))
|
||||
id.default = arg[1]
|
||||
id.rmempty = false
|
||||
id.readonly = true
|
||||
id.hidden = true
|
||||
-- uci:set('modem',arg[1],'id',arg[1])
|
||||
|
||||
-- 拨号工具
|
||||
dial_tool = s:taboption("advanced", ListValue, "dial_tool", translate("Dial Tool"))
|
||||
dial_tool.description = translate("After switching the dialing tool, it may be necessary to restart the module or restart the router to recognize the module.")
|
||||
|
Loading…
x
Reference in New Issue
Block a user