UVC-Streamer: Upstream configuration file is named uvc-streamer not uvc_streamer
authorSteven Barth <steven@midlink.org>
Thu, 11 Sep 2008 18:54:51 +0000 (18:54 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 11 Sep 2008 18:54:51 +0000 (18:54 +0000)
applications/luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua

index 2e0627ec83f9194838ddc8f61cee44156b45bcec..e4de64568201982c9898c2f291cebe795fdfd480 100644 (file)
@@ -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