9 lines
241 B
Lua
Executable File
9 lines
241 B
Lua
Executable File
module("luci.controller.terminal", package.seeall)
|
|
|
|
function index()
|
|
if not (luci.sys.call("pidof ttyd > /dev/null") == 0) then
|
|
return
|
|
end
|
|
|
|
entry({"admin", "system", "terminal"}, template("terminal"), _("Terminal"), 10).leaf = true
|
|
end |