mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-30 04:35:13 +08:00
update 2026-05-27 23:25:57
This commit is contained in:
1 parent
84f707b52b
commit
d0159b49a5
759 files changed
+362365
No files matched your search
+67
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
+22
@@ -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" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user