From dbde0216c29148520226a96a57be20ceb2406f45 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 6 Sep 2008 13:51:51 +0000 Subject: Rewrote UCI apply logic --- .../luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'applications/luci-uvc_streamer/root/etc') diff --git a/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer b/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer index 6ecea2c42b..42372f0515 100644 --- a/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer +++ b/applications/luci-uvc_streamer/root/etc/uci-defaults/luci-uvc_streamer @@ -1,4 +1,7 @@ #!/bin/sh -uci set luci.uci_oncommit.uvc_streamer='/sbin/luci-reload uvc-streamer' -uci commit luci +uci batch <<-EOF + add ucitrack uvc-streamer + set ucitrack.@uvc-streamer[-1].init=uvc-streamer + commit ucitrack +EOF -- cgit v1.2.3