summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/root/usr/share
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-advanced-reboot/root/usr/share')
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json2
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json
index 719900b066..85e764879a 100644
--- a/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json
+++ b/applications/luci-app-advanced-reboot/root/usr/share/advanced-reboot/devices/zyxel-nbg6817.json
@@ -1,7 +1,7 @@
{
"vendorName": "ZyXEL",
"deviceName": "NBG6817",
- "boardNames": [ "nbg6817" ],
+ "boardNames": [ "nbg6817", "zyxel,nbg6817" ],
"partition1MTD": "mmcblk0p4",
"partition2MTD": "mmcblk0p7",
"labelOffset": 32,
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" ],