Browse Source

added sleeps

pull/946/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
3e77fc24f6
  1. 2
      lgsm/functions/check_system_requirements.sh

2
lgsm/functions/check_system_requirements.sh

@ -17,7 +17,9 @@ if [ -n "${ramrequirement}" ]; then
if [ "${mbphysmem}" -lt "${ramrequirement} ]; then if [ "${mbphysmem}" -lt "${ramrequirement} ]; then
# Warn the user # Warn the user
fn_print_warn "Insufficient physical RAM: ${mbphysmem}MB available for ${ramrequirement}MB required." 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." 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." fn_script_log_warn "Insufficient physical RAM: ${mbphysmem}MB available for ${ramrequirement}MB required."
fi fi
fi fi

Loading…
Cancel
Save