a1f2296717952261cb7ee647dc07135518990587
[project/luci.git] / applications / luci-uvc_streamer / luasrc / controller / uvc_streamer.lua
1 module("luci.controller.uvc_streamer", package.seeall)
2
3 function index()
4        require("luci.i18n")
5        luci.i18n.loadc("uvc_streamer")
6        if not luci.fs.isfile("/etc/config/uvc-streamer") then
7                return
8        end
9
10        local page = entry({"admin", "services", "uvc_streamer"}, cbi("uvc_streamer"), luci.i18n.translate("uvc_streamer", "UVC Streaming"), 60)
11        page.i18n = "uvc_streamer"
12        page.dependent = true
13 end