summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/controller/admin/index.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-26 00:58:12 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-26 00:58:12 +0000
commit8c9aef1b2de7df6838b939c9eb314ad613bab3d9 (patch)
tree13fb467714cc740622ee1043e6620a227750df84 /modules/admin-full/luasrc/controller/admin/index.lua
parent76548e7dad6fd35a6ca19b4bee0f050a2ab5da56 (diff)
modules/admin-full:
- move crontab to system menu - delete now empty services dispatcher - move service menu declaration into index
Diffstat (limited to 'modules/admin-full/luasrc/controller/admin/index.lua')
-rw-r--r--modules/admin-full/luasrc/controller/admin/index.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/index.lua b/modules/admin-full/luasrc/controller/admin/index.lua
index 663ef70229..3448489044 100644
--- a/modules/admin-full/luasrc/controller/admin/index.lua
+++ b/modules/admin-full/luasrc/controller/admin/index.lua
@@ -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