modules/admin-full: reuse sysupgrade facilities to create backup archive
[project/luci.git] / modules / admin-full / luasrc / controller / admin / index.lua
index 14d7b7a..4e83252 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