summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat2/root
diff options
context:
space:
mode:
authorJan Hoffmann <jan@3e8.eu>2020-01-02 23:20:37 +0100
committerJan Hoffmann <jan@3e8.eu>2020-01-23 12:44:22 +0100
commit1750433bc162bf923557a16f6ed7dfd1d3b90be4 (patch)
tree668c2fd83bbed07b13c2a59729d50730daabeb85 /applications/luci-app-vnstat2/root
parentd844caf13787a66a5deac438d9f28746b79136ff (diff)
luci-app-vnstat2: add application
This adds an application for vnStat version 2. Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'applications/luci-app-vnstat2/root')
-rw-r--r--applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json12
1 files changed, 12 insertions, 0 deletions
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" ]
+ }
+ }
+}
+