Skip to content

Commit

Permalink
Add patch to fix unbound log
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Dec 12, 2024
1 parent f4e3aec commit ce7ffa5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions patches/luci-unbound-logread.patch
Original file line number Diff line number Diff line change
@@ -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.")

0 comments on commit ce7ffa5

Please sign in to comment.