diff options
Diffstat (limited to 'applications/luci-uvc_streamer/luasrc/controller')
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua b/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua new file mode 100644 index 0000000000..a1f2296717 --- /dev/null +++ b/applications/luci-uvc_streamer/luasrc/controller/uvc_streamer.lua @@ -0,0 +1,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 |