luci-app-nut.json 550 B

12345678910111213141516171819202122
  1. {
  2. "luci-app-nut": {
  3. "description": "Grant UCI access for luci-app-nut",
  4. "read": {
  5. "file": {
  6. "/etc/ssl/certs": [ "read" ],
  7. "/tmp/*": [ "list" ],
  8. "/lib/lnut": [ "read" ],
  9. "/lib/nut/": [ "list" ],
  10. "/usr/sbin/upsd": [ "read" ],
  11. "/usr/sbin/upsmon": [ "read" ],
  12. "/var/run/nut": [ "read" ],
  13. "/usr/bin/ldd /usr/sbin/upsmon": ["exec"],
  14. "/usr/bin/ldd /usr/sbin/upsd": ["exec"]
  15. },
  16. "uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
  17. },
  18. "write": {
  19. "uci": [ "nut_cgi", "nut_monitor", "nut_server" ]
  20. }
  21. }
  22. }