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-uhttpd/luasrc/controller/uhttpd/uhttpd.lua | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 applications/luci-app-uhttpd/luasrc/controller/uhttpd/uhttpd.lua (limited to 'applications/luci-app-uhttpd/luasrc/controller/uhttpd') diff --git a/applications/luci-app-uhttpd/luasrc/controller/uhttpd/uhttpd.lua b/applications/luci-app-uhttpd/luasrc/controller/uhttpd/uhttpd.lua deleted file mode 100644 index 2e80dd63b4..0000000000 --- a/applications/luci-app-uhttpd/luasrc/controller/uhttpd/uhttpd.lua +++ /dev/null @@ -1,17 +0,0 @@ --- Copyright 2015 Daniel Dickinson --- Licensed to the public under the Apache License 2.0. - -module("luci.controller.uhttpd.uhttpd", package.seeall) - -function index() - if not nixio.fs.access("/etc/config/uhttpd") then - return - end - - local page - - page = entry({"admin", "services", "uhttpd"}, cbi("uhttpd/uhttpd"), _("uHTTPd")) - page.leaf = true - -end - -- cgit v1.2.3