2018-11-05 11:04:01 +08:00

10 lines
247 B
Lua

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"), _("TTYD Terminal"), 10).leaf = true
end