update 2026-05-27 23:25:57

This commit is contained in:
action committed 2026-05-27 23:25:57 +08:00
1 parent 84f707b52b
commit d0159b49a5
759 files changed
+362365

No files matched your search

@@ -0,0 +1,67 @@
{
"admin/status/log-viewer": {
"title": "Log Viewer",
"order": 5,
"action": {
"type": "alias",
"path": "admin/status/log-viewer/messages"
},
"depends": {
"acl": [ "luci-app-log-viewer" ]
}
},
"admin/status/log-viewer/messages": {
"title": "messages",
"order": 1,
"action": {
"type": "view",
"path": "log-viewer/multilog/messages"
}
},
"admin/status/log-viewer/secure": {
"title": "secure",
"order": 2,
"action": {
"type": "view",
"path": "log-viewer/multilog/secure"
}
},
"admin/status/log-viewer/maillog": {
"title": "maillog",
"order": 3,
"action": {
"type": "view",
"path": "log-viewer/multilog/maillog"
}
},
"admin/status/log-viewer/cron": {
"title": "cron",
"order": 4,
"action": {
"type": "view",
"path": "log-viewer/multilog/cron"
}
},
"admin/status/log-viewer/boot": {
"title": "boot",
"order": 5,
"action": {
"type": "view",
"path": "log-viewer/multilog/boot"
}
},
"admin/status/log-viewer/dmesg": {
"title": "kernel",
"order": 6,
"action": {
"type": "view",
"path": "log-viewer/dmesg"
}
}
}
@@ -0,0 +1,22 @@
{
"luci-app-log-viewer": {
"description": "Grant access to log-viewer procedures",
"read": {
"cgi-io": [ "exec" ],
"file": {
"/sbin/logread*": [ "exec" ],
"/usr/sbin/logread*": [ "exec" ],
"/bin/dmesg -r": [ "exec" ],
"/var/log/messages": [ "read" ],
"/var/log/secure": [ "read" ],
"/var/log/maillog": [ "read" ],
"/var/log/cron": [ "read" ],
"/var/log/boot.log": [ "read" ]
},
"ubus": {
"system": [ "info" ],
"luci.log-viewer": [ "getSyslogSize", "getSyslogHash", "getDmesgSize", "getDmesgHash", "getLogfileSize" ]
}
}
}
}