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-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json | 9 +++++++++ .../luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json create mode 100644 applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json (limited to 'applications/luci-app-frpc/root') diff --git a/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json b/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json new file mode 100644 index 000000000..26a0f2b1c --- /dev/null +++ b/applications/luci-app-frpc/root/usr/share/luci/menu.d/luci-app-frpc.json @@ -0,0 +1,9 @@ +{ + "admin/services/frpc": { + "title": "frp Client", + "action": { + "type": "view", + "path": "frpc" + } + } +} diff --git a/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json new file mode 100644 index 000000000..970b95780 --- /dev/null +++ b/applications/luci-app-frpc/root/usr/share/rpcd/acl.d/luci-app-frpc.json @@ -0,0 +1,8 @@ +{ + "luci-app-frpc": { + "description": "Grant access to LuCI app frpc", + "write": { + "uci": ["frpc"] + } + } +} -- cgit v1.2.3