modules/admin-full: merge services/dnsmasq and network/dhcpleases into network/dhcp
[project/luci.git] / modules / admin-full / luasrc / controller / admin / services.lua
index 38e3448..14ced9f 100644 (file)
@@ -27,25 +27,4 @@ function index()
        page.title  = i18n("Services")
        page.order  = 40
        page.index  = true
-
-       if nixio.fs.access("/etc/config/lucittpd") then
-               local page  = node("admin", "services", "lucittpd")
-               page.target = cbi("admin_services/lucittpd")
-               page.title  = "LuCIttpd"
-               page.order  = 10
-       end
-
-       if nixio.fs.access("/etc/config/httpd") then
-               local page  = node("admin", "services", "httpd")
-               page.target = cbi("admin_services/httpd")
-               page.title  = "Busybox HTTPd"
-               page.order  = 11
-       end
-
-       if nixio.fs.access("/etc/config/dhcp") then
-               local page  = node("admin", "services", "dnsmasq")
-               page.target = cbi("admin_services/dnsmasq")
-               page.title  = "Dnsmasq"
-               page.order  = 30
-       end
 end