From 508b5e3240370312bf091ac61b0d7b1395845a4d Mon Sep 17 00:00:00 2001 From: Helge Mader Date: Tue, 16 Jun 2020 13:14:55 +0200 Subject: luci-app-xinetd: add new package Signed-off-by: Helge Mader --- .../root/usr/share/luci/menu.d/luci-app-xinetd.json | 14 ++++++++++++++ .../root/usr/share/rpcd/acl.d/luci-app-xinetd.json | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 applications/luci-app-xinetd/root/usr/share/luci/menu.d/luci-app-xinetd.json create mode 100644 applications/luci-app-xinetd/root/usr/share/rpcd/acl.d/luci-app-xinetd.json (limited to 'applications/luci-app-xinetd/root/usr/share') diff --git a/applications/luci-app-xinetd/root/usr/share/luci/menu.d/luci-app-xinetd.json b/applications/luci-app-xinetd/root/usr/share/luci/menu.d/luci-app-xinetd.json new file mode 100644 index 0000000000..75b6228bb1 --- /dev/null +++ b/applications/luci-app-xinetd/root/usr/share/luci/menu.d/luci-app-xinetd.json @@ -0,0 +1,14 @@ +{ + "admin/services/xinetd": { + "title": "Xinetd", + "order": 90, + "action": { + "type": "view", + "path": "xinetd/xinetd" + }, + "depends": { + "acl": [ "luci-app-xinetd" ], + "uci": { "xinetd": true } + } + } +} diff --git a/applications/luci-app-xinetd/root/usr/share/rpcd/acl.d/luci-app-xinetd.json b/applications/luci-app-xinetd/root/usr/share/rpcd/acl.d/luci-app-xinetd.json new file mode 100644 index 0000000000..f338ae9838 --- /dev/null +++ b/applications/luci-app-xinetd/root/usr/share/rpcd/acl.d/luci-app-xinetd.json @@ -0,0 +1,14 @@ +{ + "luci-app-xinetd": { + "description": "Grant access to luci-app-xinetd", + "read": { + "file": { + "/etc/passwd": [ "read" ] + }, + "uci": [ "xinetd" ] + }, + "write": { + "uci": [ "xinetd" ] + } + } +} -- cgit v1.2.3