1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00
This commit is contained in:
suyuan 2023-10-13 10:54:43 +08:00
parent b2eb94488a
commit 9efda78e30
27 changed files with 2934 additions and 3528 deletions

5
luci-app-ouad/luasrc/controller/oled.lua Normal file → Executable file
View file

@ -4,11 +4,6 @@ function index()
if not nixio.fs.access("/etc/config/oled") then
return
end
local uci = require "luci.model.uci".cursor()
local showmenu = uci:get_first("oled", "oled", "showmenu", "0")
if showmenu == "0" then
return
end
entry({"admin", "services", "oled"}, alias("admin", "services", "oled", "setting"),_("OLED"), 90).dependent = true
entry({"admin", "services", "oled", "status"}, call("act_status"))
entry({"admin", "services", "oled", "setting"}, cbi("oled/setting"),_("Setting"),30).leaf = true