mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 19:13:56 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
0d155c70be
commit
32600acc60
14258 files changed
+3954570
No files matched your search
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"admin/services/redsocks": {
|
||||
"title": "Redsocks",
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "redsocks"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-redsocks" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"luci-app-redsocks": {
|
||||
"description": "Grant access to LuCI app redsocks",
|
||||
"read": {
|
||||
"file": {
|
||||
"/etc/redsocks.conf": [ "read" ],
|
||||
"/usr/sbin/redsocks": [ "exec" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "read" ],
|
||||
"luci": [ "getInitList" ]
|
||||
}
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/redsocks.conf": [ "write" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "write" ],
|
||||
"luci": [ "setInitAction" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user