diff --git a/luci-app-modem/luasrc/controller/modem.lua b/luci-app-modem/luasrc/controller/modem.lua index 7a5bf85..aa9ef30 100644 --- a/luci-app-modem/luasrc/controller/modem.lua +++ b/luci-app-modem/luasrc/controller/modem.lua @@ -29,8 +29,6 @@ function index() entry({"admin", "network", "modem", "send_at_command"}, call("sendATCommand"), nil).leaf = true entry({"admin", "network", "modem", "user_at_command"}, call("userATCommand"), nil).leaf = true entry({"admin", "network", "modem", "get_at_port"}, call("getATPort"), nil).leaf = true - - entry({"admin", "network", "modem", "at"},template("modem/at"),translate("AT"),40).leaf = true end -- 判断字符串是否含有字母 diff --git a/luci-app-modem/luasrc/view/modem/at.htm b/luci-app-modem/luasrc/view/modem/at.htm deleted file mode 100644 index 4ca2c2f..0000000 --- a/luci-app-modem/luasrc/view/modem/at.htm +++ /dev/null @@ -1,150 +0,0 @@ -<%+header%> -<% -local sys = require "luci.sys" -local utl = require "luci.util" -local fs = require "nixio.fs" -local uci = require "luci.model.uci".cursor() -local s = uci:get("custom", "bandlock", "enabled") -local a = uci:get("custom", "atcmd", "enabled") - -local multilock = uci:get("custom", "multiuser", "multi") or "0" -local rootlock = uci:get("custom", "multiuser", "root") or "0" -nomulti=1 -if (multilock == "0") or (multilock == "1" and rootlock == "1") then - nosms = 1 - if a == "1" then - nosms = 0 - end -else - nosms = 1 - nomulti = 0 -end -block = 1 -if s == "1" then - block = 0 -end - -function showicon(lck) -end - --%> - - - - -
-

<%:AT Commands%>

-
<%:Debugging Your Module with AT Command%>
- - - - -
- -

<%:AT Command Console%>

- - - - - - - - - - - - - - - - - - - - -
<%:Quick Option%>:
-
- 自动 - 自定义 -
-
<%:Quick Commands%>:
<%:Modem Select%>:
<%:AT Commands%>:
- - -
- -
-

<%=translate("TTYD Terminal")%>

- -
-
- -
- -<%+footer%>