소스 검색

added sleeps

UltimateByte 10 년 전
부모
커밋
3e77fc24f6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      lgsm/functions/check_system_requirements.sh

+ 2 - 0
lgsm/functions/check_system_requirements.sh

@@ -17,7 +17,9 @@ if [ -n "${ramrequirement}" ]; then
   if [ "${mbphysmem}" -lt "${ramrequirement} ]; then
     # Warn the user
     fn_print_warn "Insufficient physical RAM: ${mbphysmem}MB available for ${ramrequirement}MB required."
+    sleep 2
     echo "You may encounter issues such as server lagging or shutting down unexpectedly."
+    sleep 0.5
     fn_script_log_warn "Insufficient physical RAM: ${mbphysmem}MB available for ${ramrequirement}MB required."
   fi
 fi