summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d
diff options
context:
space:
mode:
authorPuran Lyu <pl2355@nyu.edu>2023-12-29 18:03:15 -0500
committerPaul Donald <itsascambutmailmeanyway@gmail.com>2023-12-30 23:36:31 +0000
commit468ad9f792e648f65321e42f227cead231d4cda9 (patch)
tree6ed6c650269bf6b400b4635b7031efb5c976b7da /applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d
parent16572f1395f02843e5e590870a183780d7f5fc45 (diff)
luci-app-irqbalance: add new package
Add LuCI interface for irqbalance package Signed-off-by: Puran Lyu <pl2355@nyu.edu>
Diffstat (limited to 'applications/luci-app-irqbalance/root/usr/share/rpcd/acl.d')
-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