mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Add luci menu json
This commit is contained in:
parent
c5c8bd41e3
commit
5b14298f47
20 changed files with 243 additions and 1 deletions
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/vpn/dsvpn": {
|
||||
"title": "DSVPN",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "cbi",
|
||||
"path": "dsvpn"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-dsvpn" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -7,6 +7,7 @@
|
|||
"path": "admin/network/firewall/zones"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-firewall" ],
|
||||
"fs": { "/sbin/fw3": "executable" },
|
||||
"uci": { "firewall": true }
|
||||
}
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"luci-app-firewall": {
|
||||
"description": "Grant access to firewall configuration",
|
||||
"read": {
|
||||
"file": {
|
||||
"/etc/firewall.user": [ "read" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "read" ],
|
||||
"luci": [ "getConntrackHelpers" ]
|
||||
},
|
||||
"uci": [ "firewall" ]
|
||||
},
|
||||
"write": {
|
||||
"file": {
|
||||
"/etc/firewall.user": [ "write" ]
|
||||
},
|
||||
"ubus": {
|
||||
"file": [ "write" ]
|
||||
},
|
||||
"uci": [ "firewall" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/vpn/glorytun": {
|
||||
"title": "Glorytun",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "cbi",
|
||||
"path": "glorytun"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-glorytun" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/services/https-dns-proxy": {
|
||||
"title": "Proxy DNS Over HTTPS",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "https-dns-proxy"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-https-dns-proxy" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/services/iperf": {
|
||||
"title": "iPerf",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "iperf"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-iperf" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "network/macvlan"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-macvlan" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
13
luci-app-mail/root/usr/share/luci/menu.d/luci-app-mail.json
Normal file
13
luci-app-mail/root/usr/share/luci/menu.d/luci-app-mail.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/services/mail": {
|
||||
"title": "E-Mail",
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "mail"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-mail" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/vpn/mlvpn": {
|
||||
"title": "MLVPN",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "cbi",
|
||||
"path": "mlvpn"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-mlvpn" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/network/mptcp": {
|
||||
"title": "MPTCP",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "cbi",
|
||||
"path": "mptcp"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-mptcp" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/services/nginx-ha": {
|
||||
"title": "Nginx High Availability",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "nginx-ha"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-nginx-ha" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "services/omr-bypass"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-omr-bypass" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"read": {
|
||||
"file": {
|
||||
"/proc/net/xt_ndpi/proto": [ "read" ],
|
||||
"/proc/net/xt_ndpi/host_proto": [ "read" ],
|
||||
"/proc/net/xt_ndpi/host_proto": [ "read" ]
|
||||
},
|
||||
"ubus": {
|
||||
"luci-rpc": [ "getHostHints" ]
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/network/omr-dscp": {
|
||||
"title": "OMR-DSCP",
|
||||
"order": 80,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "omr-dscp"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-omr-dscp" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/network/quota": {
|
||||
"title": "Quota",
|
||||
"order": 90,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "quota"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-omr-quota" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/services/omr-tracker": {
|
||||
"title": "OMR-Tracker",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "omr-tracker"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-omr-tracker" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/system/openmptcprouter": {
|
||||
"title": "OpenMPTCProuter",
|
||||
"order": 1,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "openmptcprouter/wizard"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-openmptcprouter" ]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,39 @@
|
|||
{
|
||||
"admin/services/shadowsocks-libev": {
|
||||
"title": "Shadowsocks-libev",
|
||||
"order": 59,
|
||||
"action": {
|
||||
"type": "firstchild"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-shadowsocks-libev" ]
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-libev/instances": {
|
||||
"title": "Local Instances",
|
||||
"order": 10,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-libev/instances"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-libev/servers": {
|
||||
"title": "Remote Servers",
|
||||
"order": 20,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-libev/servers"
|
||||
}
|
||||
},
|
||||
|
||||
"admin/services/shadowsocks-libev/rules": {
|
||||
"title": "Redir Rules",
|
||||
"order": 30,
|
||||
"action": {
|
||||
"type": "view",
|
||||
"path": "shadowsocks-libev/rules"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,6 +5,9 @@
|
|||
"action": {
|
||||
"type": "view",
|
||||
"path": "system/shutdown"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-shutdown" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"admin/network/snmpd": {
|
||||
"title": "SNMPd",
|
||||
"order": 91,
|
||||
"action": {
|
||||
"type": "uci",
|
||||
"path": "snmpd"
|
||||
},
|
||||
"depends": {
|
||||
"acl": [ "luci-app-snmpd" ]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue