luci-mjpg-streamer 214 B

1234567891011
  1. #!/bin/sh
  2. uci -q batch <<-EOF >/dev/null
  3. delete ucitrack.@mjpg-streamer[-1]
  4. add ucitrack mjpg-streamer
  5. set ucitrack.@mjpg-streamer[-1].init=mjpg-streamer
  6. commit ucitrack
  7. EOF
  8. rm -f /tmp/luci-indexcache
  9. exit 0