mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user