mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-11 12:57:51 +08:00
⛅ Sync 2026-08-24 23:49:27
This commit is contained in:
1 parent
e187a41f8d
commit
1bd7b2c053
48 files changed
+4980
-4592
No files matched your search
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"admin/services/shunt": {
|
||||
"title": "shunt",
|
||||
"order": "65",
|
||||
"action": {
|
||||
"type": "alias",
|
||||
"path": "admin/services/shunt/overview"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [
|
||||
"luci-app-shunt"
|
||||
],
|
||||
"fs": {
|
||||
"/usr/sbin/shunt": "executable",
|
||||
"/etc/init.d/shunt": "executable"
|
||||
},
|
||||
"uci": {
|
||||
"shunt": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin/services/shunt/overview": {
|
||||
"title": "Overview",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shunt/overview"
|
||||
}
|
||||
},
|
||||
"admin/services/shunt/policies": {
|
||||
"title": "Policies",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shunt/policies"
|
||||
}
|
||||
},
|
||||
"admin/services/shunt/setreport": {
|
||||
"title": "Set Reporting",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shunt/setreport"
|
||||
}
|
||||
},
|
||||
"admin/services/shunt/logread": {
|
||||
"title": "Processing Log",
|
||||
"order": 40,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shunt/logread"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"luci-app-shunt": {
|
||||
"description": "Grant access to LuCI app shunt",
|
||||
"write": {
|
||||
"uci": [
|
||||
"shunt"
|
||||
]
|
||||
},
|
||||
"read": {
|
||||
"ubus": {
|
||||
"luci.shunt": [
|
||||
"status",
|
||||
"sets"
|
||||
],
|
||||
"rpc-sys": [
|
||||
"packagelist"
|
||||
]
|
||||
},
|
||||
"uci": [
|
||||
"shunt"
|
||||
],
|
||||
"file": {
|
||||
"/etc/init.d/shunt stop": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/shunt start": [
|
||||
"exec"
|
||||
],
|
||||
"/etc/init.d/shunt restart": [
|
||||
"exec"
|
||||
]
|
||||
},
|
||||
"cgi-io": [
|
||||
"exec"
|
||||
],
|
||||
"log": [
|
||||
"read"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user