From 51d38ee06dc871027387735185af5e2c4cb93736 Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Wed, 22 Jan 2020 00:54:45 +0800 Subject: luci-app-frp: add new packages Signed-off-by: Richard Yu --- .../luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json | 9 +++++++++ .../luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 applications/luci-app-frps/root/usr/share/luci/menu.d/luci-app-frps.json create mode 100644 applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json (limited to 'applications/luci-app-frps/root/usr') 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 000000000..3b8711451 --- /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 000000000..8c0f8f5a0 --- /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"] + } + } +} -- cgit v1.2.3