modules/admin-core: fix stray servicectl button in modemenu
This commit is contained in:
parent
bf41f6ecfb
commit
36a2fbae7b
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue