mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 06:25:15 +08:00
update 2026-10-07 11:52:44
This commit is contained in:
1 parent
d6cc6efa77
commit
617f7ca2a6
4898 files changed
-1713675
No files matched your search
-67
@@ -1,67 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
-23
@@ -1,23 +0,0 @@
|
||||
{
|
||||
"luci-app-log-viewer": {
|
||||
"description": "Grant access to log-viewer procedures",
|
||||
"read": {
|
||||
"cgi-io": [ "exec" ],
|
||||
"file": {
|
||||
"/sbin/logread*": [ "exec" ],
|
||||
"/usr/sbin/logread*": [ "exec" ],
|
||||
"/usr/libexec/logread-ubox*": [ "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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user