luci-app-wol.json 287 B

1234567891011121314151617
  1. {
  2. "luci-app-wol": {
  3. "description": "Grant access to wake-on-lan executables",
  4. "read": {
  5. "ubus": {
  6. "luci-rpc": [ "getHostHints" ]
  7. },
  8. "uci": [ "etherwake" ]
  9. },
  10. "write": {
  11. "file": {
  12. "/usr/bin/etherwake": [ "exec" ],
  13. "/usr/bin/wol": [ "exec" ]
  14. }
  15. }
  16. }
  17. }