luci-app-advanced-reboot.json 393 B

12345678910111213141516
  1. {
  2. "luci-app-advanced-reboot": {
  3. "description": "Grant UCI and file access for luci-app-advanced-reboot",
  4. "read": {
  5. "ubus": {
  6. "luci.advanced_reboot": [ "obtain_device_info", "toggle_boot_partition" ],
  7. "system": [ "reboot" ]
  8. },
  9. "file": {
  10. "/usr/sbin/fw_printenv": [ "list" ],
  11. "/usr/sbin/fw_setenv": [ "list" ],
  12. "/sbin/poweroff": [ "list", "exec" ]
  13. }
  14. }
  15. }
  16. }