From ce7ffa50c1bfb4a609891b821acd99a2c57485cc Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Thu, 12 Dec 2024 08:44:41 +0100 Subject: [PATCH] Add patch to fix unbound log --- patches/luci-unbound-logread.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/luci-unbound-logread.patch diff --git a/patches/luci-unbound-logread.patch b/patches/luci-unbound-logread.patch new file mode 100644 index 00000000..6f892e61 --- /dev/null +++ b/patches/luci-unbound-logread.patch @@ -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.") +