blob: 9a981acac3908bdf48f8f03aa5050a266db7f0dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
-- 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
|