[openwrt/mjpeg] allow camera/fix name
This commit is contained in:
parent
b17100f656
commit
2e09e7ef59
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue