luci/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
Jo-Philipp Wich 40ee3fa3ce luci-app-woll: convert to client side rendering
Also make the interface option mandatory

Fixes: #3557
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-26 22:48:20 +01:00

16 lines
260 B
JSON

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