summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json')
-rw-r--r--applications/luci-app-vnstat2/root/usr/share/rpcd/acl.d/luci-app-vnstat2.json7
1 files changed, 7 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
index 58a2aa50c..fb16f09c9 100644
--- 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
@@ -1,6 +1,13 @@
{
"luci-app-vnstat2": {
"description": "Grant access to LuCI app vnstat2",
+ "read": {
+ "cgi-io": [ "exec" ],
+ "file": {
+ "/usr/bin/vnstat --json f 1": [ "exec" ],
+ "/usr/bin/vnstati -[5dhmsty] -i * -o -": [ "exec" ]
+ }
+ },
"write": {
"file": {
"/usr/bin/vnstat": [ "exec" ]