summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-unbound/luasrc/controller
diff options
context:
space:
mode:
authorEric Luehrsen <ericluehrsen@gmail.com>2018-08-12 11:13:31 -0400
committerEric Luehrsen <ericluehrsen@gmail.com>2018-08-12 20:06:15 -0400
commitdec88df41c938de1064d0bf2001c0ec7002e7ab2 (patch)
treea41b7c74a2fd986f33dd5c472ee964f71b158a1e /applications/luci-app-unbound/luasrc/controller
parentc2d36ba280c50d81a5d6e6cfa30b995008c1a98e (diff)
luci-app-unbound: add zone-details combined tab
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
Diffstat (limited to 'applications/luci-app-unbound/luasrc/controller')
-rw-r--r--applications/luci-app-unbound/luasrc/controller/unbound.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-unbound/luasrc/controller/unbound.lua b/applications/luci-app-unbound/luasrc/controller/unbound.lua
index ea3d26b919..771385b798 100644
--- a/applications/luci-app-unbound/luasrc/controller/unbound.lua
+++ b/applications/luci-app-unbound/luasrc/controller/unbound.lua
@@ -28,7 +28,8 @@ function index()
if (valman == "0") then
entry({"admin", "services", "unbound", "zones"},
- cbi("unbound/zones"), _("Zones"), 15)
+ arcombine(cbi("unbound/zones"), cbi("unbound/zone-details")),
+ _("Zones"), 15).leaf = true
end
@@ -106,7 +107,7 @@ end
function QuerySysLog()
- local lcldata = luci.util.exec("logread | grep -i unbound")
+ local lcldata = luci.util.exec("logread -e 'unbound'")
local lcldesc = luci.i18n.translate(
"This shows syslog filtered for events involving Unbound.")