From 1750433bc162bf923557a16f6ed7dfd1d3b90be4 Mon Sep 17 00:00:00 2001 From: Jan Hoffmann Date: Thu, 2 Jan 2020 23:20:37 +0100 Subject: luci-app-vnstat2: add application This adds an application for vnStat version 2. Signed-off-by: Jan Hoffmann --- .../root/usr/share/rpcd/acl.d/luci-app-vnstat2.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json (limited to 'applications/luci-app-vnstat2/root/usr/share/rpcd') diff --git a/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json b/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json new file mode 100644 index 0000000000..58a2aa50c6 --- /dev/null +++ b/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json @@ -0,0 +1,12 @@ +{ + "luci-app-vnstat2": { + "description": "Grant access to LuCI app vnstat2", + "write": { + "file": { + "/usr/bin/vnstat": [ "exec" ] + }, + "uci": [ "vnstat" ] + } + } +} + -- cgit v1.2.3