quick_jibri_installer.sh: fix some readability issues.

This commit is contained in:
Luis Guzmán 2022-10-23 23:44:48 -05:00
parent c14bca2b3f
commit 62f0aef13a
1 changed files with 4 additions and 3 deletions

View File

@ -199,6 +199,7 @@ if [ "$CPU_MIN" = "Y" ] && [ "$MEM_MIN" = "Y" ];then
else else
printf "CPU (%s)/RAM (%s MiB) does NOT meet minimum recommended requirements!" "$(nproc --all)" "$((mem_available/1024))" printf "CPU (%s)/RAM (%s MiB) does NOT meet minimum recommended requirements!" "$(nproc --all)" "$((mem_available/1024))"
printf "\nEven when you can use the videoconferencing sessions, we advice to increase the resources in order to user Jibri.\n\n" printf "\nEven when you can use the videoconferencing sessions, we advice to increase the resources in order to user Jibri.\n\n"
sleep .1
while [ "$CONTINUE_LOW_RES" != "yes" ] && [ "$CONTINUE_LOW_RES" != "no" ] while [ "$CONTINUE_LOW_RES" != "yes" ] && [ "$CONTINUE_LOW_RES" != "no" ]
do do
read -p "> Do you want to continue?: (yes or no)$NL" -r CONTINUE_LOW_RES read -p "> Do you want to continue?: (yes or no)$NL" -r CONTINUE_LOW_RES
@ -206,8 +207,8 @@ else
echo " - See you next time with more resources!..." echo " - See you next time with more resources!..."
exit exit
elif [ "$CONTINUE_LOW_RES" = "yes" ]; then elif [ "$CONTINUE_LOW_RES" = "yes" ]; then
printf " - We highly recommend to increase the server resources." printf "\n - We highly recommend to increase the server resources."
printf " - Otherwise, please think about adding dedicated jibri nodes instead.\n" printf "\n - Otherwise, please think about adding dedicated jibri nodes instead.\n\n"
fi fi
done done
fi fi
@ -253,7 +254,7 @@ do
This is an unsupported use, as it will likely BREAK YOUR SYSTEM, so please don't." "$de" This is an unsupported use, as it will likely BREAK YOUR SYSTEM, so please don't." "$de"
exit exit
else else
printf " > No standard desktop environment for user oriented porpuse detected, continuing...\n\n" printf " > No standard desktop environment for user oriented porpuse detected, good!, continuing...\n\n"
fi fi
done done
sleep .1 sleep .1