diff options
author | Stan Grishin <stangri@melmac.net> | 2021-01-06 16:56:10 +0000 |
---|---|---|
committer | Stan Grishin <stangri@melmac.net> | 2021-01-07 19:18:58 +0000 |
commit | 1ce1f86a2cdde8d4d55d76935fda90ff7eb89736 (patch) | |
tree | 4491567b0f4e5042dcb8581ba13aed26c3d128e5 /applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json | |
parent | e7aeb9b153abc97a77be1e8ef9c8c499a0735895 (diff) |
luci-app-advanced-reboot: rewrite rpcd in shell script + bugfixes
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json')
-rw-r--r-- | applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json index 4b22db1083..48f43a2756 100644 --- a/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json +++ b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json @@ -3,7 +3,8 @@ "description": "Grant UCI and file access for luci-app-advanced-reboot", "read": { "ubus": { - "luci.advanced_reboot": [ "obtain_device_info", "toggle_boot_partition" ] + "luci.advanced_reboot": [ "obtain_device_info", "toggle_boot_partition" ], + "system": [ "reboot" ] }, "file": { "/usr/sbin/fw_printenv": [ "list" ], |