From: Steven Barth Date: Thu, 11 Sep 2008 18:54:06 +0000 (+0000) Subject: UVC-Streamer: Upstream configuration file is named uvc-streamer not uvc_streamer X-Git-Tag: 0.9.0~1345 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e001696e3f9db4b54eef267d3c66933979ca21f;p=oweals%2Fluci.git UVC-Streamer: Upstream configuration file is named uvc-streamer not uvc_streamer --- 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 2e0627ec8..e4de64568 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