modules/admin-full: reuse sysupgrade facilities to create backup archive
[project/luci.git] / modules / admin-full / luasrc / controller / admin / index.lua
index 663ef70..4e83252 100644 (file)
@@ -17,7 +17,7 @@ module("luci.controller.admin.index", package.seeall)
 function index()
        local root = node()
        if not root.target then
-               root.target = firstchild()
+               root.target = alias("admin")
                root.index = true
        end
 
@@ -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