summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/root/usr/share/rpcd
diff options
context:
space:
mode:
authorChristian Korber <ckorber@tdt.de>2024-07-03 13:55:43 +0200
committerPaul Donald <newtwen+github@gmail.com>2024-07-23 00:41:47 +0200
commit734442a10b4470dab6e41214592f7b7870c27f83 (patch)
tree576be6c3ac698fb6736ff69882974194b8734caf /modules/luci-mod-status/root/usr/share/rpcd
parent7ebdefe7aefb231635e30d53184a836fd7af6545 (diff)
luci-mod-status: display log_file in status if defined
Commit includes wrapper syslog in /usr/libexec. If a log file is configured, the output of this file is displayed. Otherwise the output of logread is displayed. Signed-off-by: Christian Korber <ckorber@tdt.de>
Diffstat (limited to 'modules/luci-mod-status/root/usr/share/rpcd')
-rw-r--r--modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
index 45dd7d7d9e..200631e97b 100644
--- a/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
+++ b/modules/luci-mod-status/root/usr/share/rpcd/acl.d/luci-mod-status.json
@@ -32,10 +32,7 @@
"cgi-io": [ "exec" ],
"file": {
"/bin/dmesg -r": [ "exec" ],
- "/sbin/logread": [ "stat" ],
- "/sbin/logread -e ^": [ "exec" ],
- "/usr/sbin/logread": [ "stat" ],
- "/usr/sbin/logread -e ^": [ "exec" ]
+ "/usr/libexec/syslog-wrapper": [ "exec" ]
},
"ubus": {
"file": [ "stat" ]