From e010c11f3511468d027c4bfa80a2244db960fe19 Mon Sep 17 00:00:00 2001 From: Luis Guzman Date: Tue, 30 Jun 2020 21:07:22 -0500 Subject: [PATCH] Improve system verification notice (cherry picked from commit 556aa12f47bab90b1dc1dde052b38d812ee34728) --- quick_jibri_installer.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/quick_jibri_installer.sh b/quick_jibri_installer.sh index 97d9cf7..7d59f95 100644 --- a/quick_jibri_installer.sh +++ b/quick_jibri_installer.sh @@ -144,8 +144,8 @@ fi #Check resources echo "Verifying System Resources:" if [ "$(nproc --all)" -lt 4 ];then - echo "Warning: The system do not meet the minimum requirements for Jibri to run." - echo "Warning: We recommend 4 cores/threads for Jibri!" + echo "Warning!: The system do not meet the minimum requirements for Jibri to run." + echo ">> We recommend 4 cores/threads for Jibri!" CPU_MIN="N" else echo "CPU Cores/Threads: OK ($(nproc --all))" @@ -154,8 +154,8 @@ fi ### Test RAM size (8GB min) ### mem_available=$(grep MemTotal /proc/meminfo| grep -o '[0-9]\+') if [ ${mem_available} -lt 7700000 ]; then - echo "Warning: The system do not meet the minimum requirements for Jibri to run." - echo "Warning: We recommend 8GB RAM for Jibri!" + echo "Warning!: The system do not meet the minimum requirements for Jibri to run." + echo ">> We recommend 8GB RAM for Jibri!" MEM_MIN="N" else echo "Memory: OK ($((mem_available/1024)) MiB)" @@ -165,7 +165,7 @@ if [ "$CPU_MIN" = "Y" ] && [ "$MEM_MIN" = "Y" ];then echo "All requirements seems meet!" echo "We hope you have a nice recording/streaming session" else - echo "Seems CPU/RAM requirements are NOT meet!" + echo "CPU ($(nproc --all))/RAM ($((mem_available/1024)) MiB) does NOT meet minimum recommended requirements!" echo "Even when you can use the videconference sessions, we advice to increase the resoruces in order to user Jibri." while [[ "$CONTINUE_LOW_RES" != "yes" && "$CONTINUE_LOW_RES" != "no" ]] do