summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-travelmate/luasrc/controller/travelmate.lua
blob: 27c19c4e52a17d59a001691f67e15793bd9a0a63 (plain)
1
2
3
4
5
6
7
8
9
10
11
-- 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