4 (c) 2008 Yanira <forum-2008@email.de>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
16 m = Map("hd-idle", translate("hd_idle"), translate("hd_idle_desc"))
18 s = m:section(TypedSection, "hd-idle", translate("settings"))
22 s:option(Flag, "enabled", translate("enabled", "Enable"))
24 s:option(Value, "disk", translate("disk")).rmempty = true
26 s:option(Value, "idle_time_interval", translate("idle_time_interval")).default = 10
28 unit = s:option(ListValue, "idle_time_unit", translate("idle_time_unit"))
29 unit.default = "minutes"
30 unit:value("minutes", "min")
31 unit:value("hours", "h")
34 s:option(Flag, "enable_debug", translate("enable_debug"))