diff options
author | Stan Grishin <stangri@melmac.net> | 2020-05-27 00:38:18 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2020-05-27 00:38:18 +0000 |
commit | 676032fb19616cdaef9703504698becd09a65e28 (patch) | |
tree | 77ede0283dbca96f93ebe9cc0874bcb85fb72497 /applications/luci-app-simple-adblock/root/usr | |
parent | d2dfc522f1e5315fc06a93738483ca8cc3d6f6c1 (diff) |
luci-app-simple-adblock: bugfix: proper processing of failed dowloads; decrease reliance on shell commands; proper acl.d file
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-simple-adblock/root/usr')
-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 |