applications: uhttpd: Add a uHTTPd configuration app
[project/luci.git] / applications / luci-app-uhttpd / luasrc / controller / uhttpd / uhttpd.lua
1 -- Copyright 2015 Daniel Dickinson <openwrt@daniel.thecshore.com>
2 -- Licensed to the public under the Apache License 2.0.
3
4 module("luci.controller.uhttpd.uhttpd", package.seeall)
5
6 function index()
7 if not nixio.fs.access("/etc/config/uhttpd") then
8 return
9 end
10
11 local page
12
13 page = entry({"admin", "services", "uhttpd"}, cbi("uhttpd/uhttpd"), _("uHTTPd"))
14 page.leaf = true
15
16 end
17