diff options
Diffstat (limited to 'applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer')
-rwxr-xr-x | applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer b/applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer new file mode 100755 index 000000000..6a380cfe5 --- /dev/null +++ b/applications/luci-app-mjpg-streamer/root/etc/uci-defaults/40_luci-mjpg-streamer @@ -0,0 +1,11 @@ +#!/bin/sh + +uci -q batch <<-EOF >/dev/null + delete ucitrack.@mjpg-streamer[-1] + add ucitrack mjpg-streamer + set ucitrack.@mjpg-streamer[-1].init=mjpg-streamer + commit ucitrack +EOF + +rm -f /tmp/luci-indexcache +exit 0 |