mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add shadowsocks-Rust luci interface
This commit is contained in:
parent
d07ccb47ff
commit
a049f0f415
38 changed files with 10479 additions and 0 deletions
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"admin/services/shadowsocks-rust": {
|
||||
"title": "Shadowsocks-rust",
|
||||
"order": 59,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-shadowsocks-rust" ]
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-rust/instances": {
|
||||
"title": "Local Instances",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-rust/instances"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-rust/servers": {
|
||||
"title": "Remote Servers",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-rust/servers"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-rust/rules": {
|
||||
"title": "Redir Rules",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-rust/rules"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"luci-app-shadowsocks-rust": {
|
||||
"description": "Grant service list access to LuCI app shadowsocks-rust",
|
||||
"read": {
|
||||
"ubus": {
|
||||
"service": [ "list" ]
|
||||
},
|
||||
"uci": [ "shadowsocks-rust" ]
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/shadowsocks-rust/*": [ "write" ]
|
||||
},
|
||||
"uci": [ "shadowsocks-rust" ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue