* Final (hopefully) attempt to avoid errors if dhcp/smartdns configs are missing * New user experience for picking dnsmasq/smartdns instances to enable the adblocking on * use function from init script to set up output paths * update paths to run-time files in ACL Signed-off-by: Stan Grishin <stangri@melmac.ca>
35 lines
647 B
JSON
35 lines
647 B
JSON
{
|
|
"luci-app-adblock-fast": {
|
|
"description": "Grant UCI and file access for luci-app-adblock-fast",
|
|
"read": {
|
|
"file": {
|
|
"/dev/shm/adblock-fast.config": [ "list", "read" ],
|
|
"/dev/shm/adblock-fast.error": [ "list", "read" ],
|
|
"/dev/shm/adblock-fast.status": [ "list", "read" ]
|
|
},
|
|
"ubus": {
|
|
"luci.adblock-fast": [
|
|
"getFileUrlFilesizes",
|
|
"getInitList",
|
|
"getInitStatus",
|
|
"getPlatformSupport"
|
|
]
|
|
},
|
|
"uci": [
|
|
"adblock-fast",
|
|
"dhcp",
|
|
"smartdns"
|
|
]
|
|
},
|
|
"write": {
|
|
"uci": [
|
|
"adblock-fast"
|
|
],
|
|
"ubus": {
|
|
"luci.adblock-fast": [
|
|
"setInitAction"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|