diff options
Diffstat (limited to 'applications/luci-hd_idle/luasrc/model')
-rw-r--r-- | applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua b/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua index 60817db832..929b7ed075 100644 --- a/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua +++ b/applications/luci-hd_idle/luasrc/model/cbi/hd_idle.lua @@ -24,7 +24,7 @@ s:option(Flag, "enabled", translate("enable", "Enable")) disk = s:option(Value, "disk", translate("disk")) disk.rmempty = true -for _, dev in nixio.fs.glob("/dev/[sh]d[a-z]") do +for dev in nixio.fs.glob("/dev/[sh]d[a-z]") do disk:value(nixio.fs.basename(dev)) end |