mjpg-streamer: update to last upstream version

Changes:
Update patches
Add listen_ip option to config

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
This commit is contained in:
Jan Pavlinec
2019-03-25 12:44:19 +01:00
parent 6c5f68ad14
commit 9b56b1e939
5 changed files with 16 additions and 11 deletions
@@ -11,5 +11,6 @@ config mjpg-streamer 'core'
option led 'auto'
option www '/www/webcam'
option port '8080'
#option listen_ip '192.168.1.1'
option username 'openwrt'
option password 'openwrt'
@@ -69,6 +69,9 @@ start_instance() {
config_get port "$s" 'port'
[ -n "$port" ] && output_arg="${output_arg} --port $port"
config_get listen_ip "$s" 'listen_ip'
[ -n "$listen_ip" ] && output_arg="${output_arg} --listen $listen_ip"
config_get www "$s" 'www'
[ -n "$www" ] && output_arg="${output_arg} --www $www"