[openwrt/mjpeg] allow camera/fix name

This commit is contained in:
Nico Schottelius 2022-07-08 16:07:21 +02:00
parent b17100f656
commit 2e09e7ef59

View file

@ -30,7 +30,7 @@ uci delete mjpg-streamer.core.password
if ! uci show firewall | grep "name='Allow-Camera'"; then
uci add firewall rule
uci set firewall.@rule[-1].name='Allow-HTTP'
uci set firewall.@rule[-1].name='Allow-Camera'
uci set firewall.@rule[-1].src='wan'
uci set firewall.@rule[-1].proto='tcp'
uci set firewall.@rule[-1].dest_port='8080'