mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
luci-app-turboacc: some minor adjustments (#7235)
This commit is contained in:
parent
382647e995
commit
8d192ea9a4
@ -1,7 +1,7 @@
|
||||
module("luci.controller.mia",package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/mia")then
|
||||
if not nixio.fs.access("/etc/config/mia") then
|
||||
return
|
||||
end
|
||||
|
||||
|
@ -5,7 +5,7 @@ function index()
|
||||
return
|
||||
end
|
||||
local page
|
||||
page = entry({"admin", "network", "turboacc"}, cbi("turboacc"), _("Turbo ACC Center"), 101)
|
||||
page = entry({"admin", "network", "turboacc"}, cbi("turboacc"), _("Turbo ACC Center"), 1000)
|
||||
page.i18n = "turboacc"
|
||||
page.dependent = true
|
||||
|
||||
|
@ -4,7 +4,7 @@ m = Map("turboacc")
|
||||
m.title = translate("Turbo ACC Acceleration Settings")
|
||||
m.description = translate("Opensource Flow Offloading driver (Fast Path or Hardware NAT)")
|
||||
|
||||
m:append(Template("turboacc/status"))
|
||||
m:append(Template("turboacc/turboacc_status"))
|
||||
|
||||
s = m:section(TypedSection, "turboacc", "")
|
||||
s.addremove = false
|
||||
|
Loading…
Reference in New Issue
Block a user