summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-18 18:01:53 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-18 18:01:53 +0000
commit36a2fbae7bcf50a1942ae5797651b2659846fff3 (patch)
treef32cd7de76cca6db25823d53ac11b3f5d2a79284
parentbf41f6ecfbaabcb61638735ff96f3748a4abe9e1 (diff)
modules/admin-core: fix stray servicectl button in modemenu
-rw-r--r--modules/admin-core/luasrc/controller/admin/servicectl.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/admin-core/luasrc/controller/admin/servicectl.lua b/modules/admin-core/luasrc/controller/admin/servicectl.lua
index 3ef8847c0..83f07d7f2 100644
--- a/modules/admin-core/luasrc/controller/admin/servicectl.lua
+++ b/modules/admin-core/luasrc/controller/admin/servicectl.lua
@@ -18,9 +18,9 @@ function index()
luci.i18n.loadc("base")
local i18n = luci.i18n.translate
- entry({"servicectl"}, alias("servicectl", "status"), "", 1).sysauth = "root"
- entry({"servicectl", "status"}, call("action_status"), "", 2).leaf = true
- entry({"servicectl", "restart"}, call("action_restart"), "", 3).leaf = true
+ entry({"servicectl"}, alias("servicectl", "status"), nil, 1).sysauth = "root"
+ entry({"servicectl", "status"}, call("action_status"), nil, 2).leaf = true
+ entry({"servicectl", "restart"}, call("action_restart"), nil, 3).leaf = true
end
function action_status()