mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-12 03:11:55 +00:00
Add patch to fix unbound log
This commit is contained in:
parent
f4e3aec137
commit
ce7ffa50c1
1 changed files with 11 additions and 0 deletions
11
patches/luci-unbound-logread.patch
Normal file
11
patches/luci-unbound-logread.patch
Normal 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.")
|
||||
|
Loading…
Reference in a new issue