diff options
Diffstat (limited to 'applications/luci-app-hd-idle/root/usr/share')
-rw-r--r-- | applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json | 5 | ||||
-rw-r--r-- | applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json b/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json index 3d84d19ee1..9868364ef2 100644 --- a/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json +++ b/applications/luci-app-hd-idle/root/usr/share/luci/menu.d/luci-app-hd-idle.json @@ -3,9 +3,8 @@ "title": "HDD Idle", "order": 60, "action": { - "type": "cbi", - "path": "hd_idle", - "post": { "cbi.submit": true } + "type": "view", + "path": "hd_idle" }, "depends": { "acl": [ "luci-app-hd-idle" ], diff --git a/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json index 0a48a9ad87..4aa2f2997e 100644 --- a/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json +++ b/applications/luci-app-hd-idle/root/usr/share/rpcd/acl.d/luci-app-hd-idle.json @@ -2,6 +2,9 @@ "luci-app-hd-idle": { "description": "Grant UCI access for luci-app-hd-idle", "read": { + "file": { + "/dev": [ "list" ] + }, "uci": [ "hd-idle" ] }, "write": { |