summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-full/luasrc/controller/admin/services.lua14
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/services.lua b/modules/admin-full/luasrc/controller/admin/services.lua
index 1e161d764..aa1fd94ce 100644
--- a/modules/admin-full/luasrc/controller/admin/services.lua
+++ b/modules/admin-full/luasrc/controller/admin/services.lua
@@ -15,16 +15,6 @@ $Id$
module("luci.controller.admin.services", package.seeall)
function index()
- local page
-
- page = node("admin", "services", "crontab")
- page.target = form("admin_services/crontab")
- page.title = _("Scheduled Tasks")
- page.order = 50
-
- page = node("admin", "services")
- page.target = template("admin_services/index")
- page.title = _("Services")
- page.order = 40
- page.index = true
+ entry({"admin", "services"}, firstchild(), _("Services"), 40).index = true
+ entry({"admin", "services", "crontab"}, form("admin_services/crontab"), _("Scheduled Tasks"), 50)
end