summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-irqbalance/root/usr/share/rpcd
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-irqbalance/root/usr/share/rpcd')
-rw-r--r--applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d/luci-app-irqbalance.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d/luci-app-irqbalance.json b/applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d/luci-app-irqbalance.json
new file mode 100644
index 0000000000..44b6f5ff23
--- /dev/null
+++ b/applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d/luci-app-irqbalance.json
@@ -0,0 +1,25 @@
+{
+ "luci-app-irqbalance": {
+ "description": "Grant UCI access for luci-app-irqbalance",
+ "read": {
+ "file": {
+ "/proc/interrupts": [
+ "read"
+ ]
+ },
+ "ubus": {
+ "service": [
+ "list"
+ ]
+ },
+ "uci": [
+ "irqbalance"
+ ]
+ },
+ "write": {
+ "uci": [
+ "irqbalance"
+ ]
+ }
+ }
+} \ No newline at end of file