瀏覽代碼

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