diff options
author | Steven Barth <steven@midlink.org> | 2008-09-11 18:54:06 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-11 18:54:06 +0000 |
commit | 5e001696e3f9db4b54eef267d3c66933979ca21f (patch) | |
tree | 82861d9a1bfdf414337e8eb829f36162709f1de5 /applications/luci-uvc_streamer/luasrc/model/cbi | |
parent | 0eb9e9805caa9c35e48ee54698fe3ce9e25b3542 (diff) |
UVC-Streamer: Upstream configuration file is named uvc-streamer not uvc_streamer
Diffstat (limited to 'applications/luci-uvc_streamer/luasrc/model/cbi')
-rw-r--r-- | applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua b/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua index 2e0627ec83..e4de645682 100644 --- a/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua +++ b/applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua @@ -18,16 +18,16 @@ local uci = luci.model.uci.cursor_state() local addr = uci:get("network", "lan", "ipaddr") local port -uci:foreach( "uvc_streamer", "uvc_streamer", +uci:foreach( "uvc-streamer", "uvc-streamer", function(section) port = port or tonumber(section.port) end ) addr = addr or "192.168.1.1" port = port or 8080 -m = Map("uvc_streamer", translate("uvc_streamer"), +m = Map("uvc-streamer", translate("uvc_streamer"), translatef("uvc_streamer_desc", nil, addr, port, addr, port)) -s = m:section(TypedSection, "uvc_streamer", translate("settings")) +s = m:section(TypedSection, "uvc-streamer", translate("settings")) s.addremove = false s.anonymous = true |