blob: c5cf6ec2f4dd38f9e717f40d6b7c4c305df8e926 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
-- Copyright 2014 Roger D <rogerdammit@gmail.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.mjpg-streamer", package.seeall)
function index()
require("luci.i18n")
if not nixio.fs.access("/etc/config/mjpg-streamer") then
return
end
local page = entry({"admin", "services", "mjpg-streamer"}, cbi("mjpg-streamer"), _("MJPG-streamer"))
page.i18n = "mjpg-streamer"
page.dependent = true
end
|