diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-07-24 15:50:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 15:50:01 +0200 |
commit | 9dc29c0ad50060116a1171d63cbc2a28a46949fa (patch) | |
tree | d84bed83546c710ac49b19f94ec7b246bb382fda /applications/luci-app-xinetd/root/usr | |
parent | 14535748cb46eece73b43f63484afe631e390275 (diff) | |
parent | 508b5e3240370312bf091ac61b0d7b1395845a4d (diff) |
Merge pull request #4178 from TDT-AG/pr/20200616-luci-app-xinetd
luci-app-xinetd: add new package
Diffstat (limited to 'applications/luci-app-xinetd/root/usr')
-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 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" ] + } + } +} |