"hd-idle" replaced with "HDD Idle" in the menu and on the page. All translation files updated accordingly. Signed-off-by: Marc Benoit marcb6218@gmail.com
15 lines
362 B
Lua
15 lines
362 B
Lua
-- Copyright 2008 Yanira <forum-2008@email.de>
|
|
-- Licensed to the public under the Apache License 2.0.
|
|
|
|
module("luci.controller.hd_idle", package.seeall)
|
|
|
|
function index()
|
|
if not nixio.fs.access("/etc/config/hd-idle") then
|
|
return
|
|
end
|
|
|
|
local page
|
|
|
|
page = entry({"admin", "services", "hd_idle"}, cbi("hd_idle"), _("HDD Idle"), 60)
|
|
page.dependent = true
|
|
end
|