summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua
blob: a1f2296717952261cb7ee647dc07135518990587 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
module("luci.controller.uvc_streamer", package.seeall)

function index()
       require("luci.i18n")
       luci.i18n.loadc("uvc_streamer")
       if not luci.fs.isfile("/etc/config/uvc-streamer") then
               return
       end

       local page = entry({"admin", "services", "uvc_streamer"}, cbi("uvc_streamer"), luci.i18n.translate("uvc_streamer", "UVC Streaming"), 60)
       page.i18n = "uvc_streamer"
       page.dependent = true
end