diff options
author | Helge Mader <ma@dev.tdt.de> | 2020-06-16 13:14:55 +0200 |
---|---|---|
committer | Helge Mader <ma@dev.tdt.de> | 2020-07-24 15:10:32 +0200 |
commit | 508b5e3240370312bf091ac61b0d7b1395845a4d (patch) | |
tree | ad9e7e85f2a81e80e94f321706801ce79726a6e4 /applications/luci-app-xinetd/root | |
parent | c6742ebdb8da56ec096670a2a3dde88d613e168e (diff) |
luci-app-xinetd: add new package
Signed-off-by: Helge Mader <ma@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-xinetd/root')
-rw-r--r-- | applications/luci-app-xinetd/root/usr/share/luci/menu.d/luci-app-xinetd.json | 14 | ||||
-rw-r--r-- | applications/luci-app-xinetd/root/usr/share/rpcd/acl.d/luci-app-xinetd.json | 14 |
2 files changed, 28 insertions, 0 deletions
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 000000000..75b6228bb --- /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 000000000..f338ae983 --- /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" ] + } + } +} |