From 78a3ecd136b3b47855a7fa4485f6060c76f1af5b Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 11 Sep 2008 18:54:51 +0000 Subject: [PATCH] UVC-Streamer: Upstream configuration file is named uvc-streamer not uvc_streamer --- .../luci-uvc_streamer/luasrc/model/cbi/uvc_streamer.lua | 6 +++--- 1 file 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 -- 2.30.2