diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-02-02 22:30:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 22:30:28 +0100 |
commit | 3d63732c4e22260148761ef57afb3500cb5a0fab (patch) | |
tree | d9257b0c3c9230dd0d2527fdcb1e0094c25f01ce /applications/luci-app-frps/root/usr | |
parent | a50e25ddfd7ff0671d505aeb39208de3378ad33c (diff) | |
parent | 51d38ee06dc871027387735185af5e2c4cb93736 (diff) |
Merge pull request #3173 from ysc3839/frp
[RFC] luci-app-frp: add new packages
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.json | 9 | ||||
-rw-r--r-- | applications/luci-app-frps/root/usr/share/rpcd/acl.d/luci-app-frps.json | 8 |
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"] + } + } +} |