From ae2bc2140482954e2690c9753304df405485c7d9 Mon Sep 17 00:00:00 2001 From: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> Date: Sun, 17 Sep 2023 12:06:45 +0200 Subject: [PATCH] fix: fix wrong messages (#183) Signed-off-by: Patrick Gehrsitz <58853838+mryel00@users.noreply.github.com> --- libs/init_stream.sh | 4 ++-- libs/messages.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/init_stream.sh b/libs/init_stream.sh index 40edd19..4b6dce6 100755 --- a/libs/init_stream.sh +++ b/libs/init_stream.sh @@ -30,8 +30,8 @@ function construct_streamer { if [[ "$(is_raspberry_pi)" = "1" ]] && [[ "$(is_ubuntu_arm)" = "0" ]]; then MULTI_INSTANCES+=( "${cams}" ) else - log_msg "WARN: Mode 'multi' is not supported on your device!" - log_msg "WARN: Falling back to Mode 'mjpg'" + log_msg "WARN: Mode 'camera-streamer' is not supported on your device!" + log_msg "WARN: Falling back to Mode 'ustreamer'" MJPG_INSTANCES+=( "${cams}" ) fi ;; diff --git a/libs/messages.sh b/libs/messages.sh index 90eedb0..0e9607b 100755 --- a/libs/messages.sh +++ b/libs/messages.sh @@ -39,13 +39,13 @@ function help_msg { function deprecated_msg_1 { log_msg "Parameter 'streamer' is deprecated!" - log_msg "Please use mode: [ mjpg | multi ]" + log_msg "Please use mode: [ ustreamer | camera-streamer ]" log_msg "ERROR: Please update your crowsnest.conf! Stopped." } function unknown_mode_msg { log_msg "WARN: Unknown Mode configured!" - log_msg "WARN: Using 'mode: mjpg' as fallback!" + log_msg "WARN: Using 'mode: ustreamer' as fallback!" } ## v4l2_control lib