From 625abbfdbe94dada023ebd8ea69778173d1a7351 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 5 Feb 2020 16:51:19 +0100 Subject: treewide: convert simple Lua controllers to declarative JSON Signed-off-by: Jo-Philipp Wich --- .../luci-app-hd-idle/luasrc/controller/hd_idle.lua | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua (limited to 'applications/luci-app-hd-idle/luasrc') diff --git a/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua b/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua deleted file mode 100644 index 9a981acac3..0000000000 --- a/applications/luci-app-hd-idle/luasrc/controller/hd_idle.lua +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright 2008 Yanira --- 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 -- cgit v1.2.3