luci/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
Jo-Philipp Wich ef1d5fb0a8 luci-app-wol: add read access to etherwake UCI config
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-12 11:09:15 +02:00

17 lines
287 B
JSON

{
"luci-app-wol": {
"description": "Grant access to wake-on-lan executables",
"read": {
"ubus": {
"luci-rpc": [ "getHostHints" ]
},
"uci": [ "etherwake" ]
},
"write": {
"file": {
"/usr/bin/etherwake": [ "exec" ],
"/usr/bin/wol": [ "exec" ]
}
}
}
}