1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-12 11:21:55 +00:00

Add patch to fix unbound log

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-12-12 08:44:41 +01:00
parent f4e3aec137
commit ce7ffa50c1

View file

@ -0,0 +1,11 @@
--- a/luci/applications/luci-app-unbound/luasrc/controller/unbound.lua 2024-12-05 17:50:53.928401368 +0100
+++ b/luci/applications/luci-app-unbound/luasrc/controller/unbound.lua 2024-12-05 17:51:23.255945317 +0100
@@ -110,7 +110,7 @@
function QuerySysLog()
- local lcldata = luci.util.exec("logread -e 'unbound'")
+ local lcldata = luci.util.exec("logread -e 'unbound' || logread | grep 'unbound:'")
local lcldesc = luci.i18n.translate(
"This shows syslog filtered for events involving Unbound.")