luci/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
Stan Grishin 1ce1f86a2c luci-app-advanced-reboot: rewrite rpcd in shell script + bugfixes
Signed-off-by: Stan Grishin <stangri@melmac.net>
2021-01-07 19:18:58 +00:00

16 lines
393 B
JSON

{
"luci-app-advanced-reboot": {
"description": "Grant UCI and file access for luci-app-advanced-reboot",
"read": {
"ubus": {
"luci.advanced_reboot": [ "obtain_device_info", "toggle_boot_partition" ],
"system": [ "reboot" ]
},
"file": {
"/usr/sbin/fw_printenv": [ "list" ],
"/usr/sbin/fw_setenv": [ "list" ],
"/sbin/poweroff": [ "list", "exec" ]
}
}
}
}