summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wol/root/usr
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-04-12 11:07:38 +0200
committerJo-Philipp Wich <jo@mein.io>2020-04-12 11:09:15 +0200
commitef1d5fb0a8738e903f65344ef6d865c48f5bd6e3 (patch)
tree1eefc06115c1479b7d1302b4c04783346bee7e5d /applications/luci-app-wol/root/usr
parentc35cb317fe6a5d42e3c7294e02fac65c50ef3f3c (diff)
luci-app-wol: add read access to etherwake UCI config
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-wol/root/usr')
-rw-r--r--applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json b/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
index 62a1eb975..c679fe321 100644
--- a/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
+++ b/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
@@ -4,7 +4,8 @@
"read": {
"ubus": {
"luci-rpc": [ "getHostHints" ]
- }
+ },
+ "uci": [ "etherwake" ]
},
"write": {
"file": {