diff options
Diffstat (limited to 'applications/luci-app-simple-adblock/root/usr/share')
-rw-r--r-- | applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json b/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json index 8a890532bb..eb579e8a44 100644 --- a/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json +++ b/applications/luci-app-simple-adblock/root/usr/share/rpcd/acl.d/luci-app-simple-adblock.json @@ -1,11 +1,38 @@ { "luci-app-simple-adblock": { - "description": "Grant UCI access for luci-app-simple-adblock", + "description": "Grant UCI and file access for luci-app-simple-adblock", "read": { - "uci": [ "simple-adblock" ] + "cgi-io": [ + "exec" + ], + "file": { + "/usr/lib/opkg/status": [ + "read" + ], + "/sys/class/leds/*": [ + "read" + ], + "/var/run/simple-adblock.*": [ + "read" + ], + "/etc/init.d/simple-adblock *": [ + "exec" + ], + "/usr/sbin/dnsmasq *": [ + "exec" + ], + "/usr/sbin/ipset *": [ + "exec" + ] + }, + "uci": [ + "simple-adblock" + ] }, "write": { - "uci": [ "simple-adblock" ] + "uci": [ + "simple-adblock" + ] } } -} +}
\ No newline at end of file |