Merge pull request #278 from nmav/ocserv
[project/luci.git] / modules / admin-full / luasrc / controller / admin / index.lua
index 14d7b7a61ccfc4d0e2018eb26a1b2126b3247aea..4e832529d9128bfd64430669b95cd6dd976d1c0d 100644 (file)
@@ -22,7 +22,7 @@ function index()
        end
 
        local page   = node("admin")
-       page.target  = alias("admin", "status")
+       page.target  = firstchild()
        page.title   = _("Administration")
        page.order   = 10
        page.sysauth = "root"
@@ -30,6 +30,9 @@ function index()
        page.ucidata = true
        page.index = true
 
+       -- Empty services menu to be populated by addons
+       entry({"admin", "services"}, firstchild(), _("Services"), 40).index = true
+
        entry({"admin", "logout"}, call("action_logout"), _("Logout"), 90)
 end