summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-frps/root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-frps/root/usr')
-rw-r--r--applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json9
-rw-r--r--applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json8
2 files changed, 17 insertions, 0 deletions
diff --git a/applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json b/applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json
new file mode 100644
index 0000000000..3b87114515
--- /dev/null
+++ b/applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json
@@ -0,0 +1,9 @@
+{
+ "admin/services/frps": {
+ "title": "frp Server",
+ "action": {
+ "type": "view",
+ "path": "frps"
+ }
+ }
+}
diff --git a/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json b/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json
new file mode 100644
index 0000000000..8c0f8f5a06
--- /dev/null
+++ b/applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json
@@ -0,0 +1,8 @@
+{
+ "luci-app-frps": {
+ "description": "Grant access to LuCI app frps",
+ "write": {
+ "uci": ["frps"]
+ }
+ }
+}