Create user interface for Travelmate, a new package that helps in creating travel router functionality. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
11 lines
286 B
Lua
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
|