luci/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
Hannu Nyman 3c23cc6470 luci-app-travelmate: user interface for Travelmate package
Create user interface for Travelmate, a new package that
helps in creating travel router functionality.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-10-30 10:10:46 +02:00

11 lines
286 B
Lua

-- Licensed to the public under the Apache License 2.0.
module("luci.controller.travelmate", package.seeall)
function index()
if not nixio.fs.access("/etc/config/travelmate") then
return
end
entry({"admin", "services", "travelmate"}, cbi("travelmate"), _("Travelmate"), 60)
end