This commit is contained in:
teldra 2021-08-18 08:45:57 +02:00
parent e169c0ade7
commit 2eed14b972
1 changed files with 1 additions and 1 deletions

View File

@ -136,7 +136,7 @@ elif [[ "${ramsize}" -gt "8" ]] && [[ "${ramsize}" -lt "15" ]]; then
test -z "${hibernate}" || swapsize="$(awk "BEGIN { printf(\"%.0f\n\", ${ramsize}*1.5); }")"
elif [[ "${ramsize}" -ge "15" ]]; then
test -z "${hibernate}" && swapsize="4"
test -z "${hibernate}" || read -p "hibernate not recommended, turning off\n" empty && hibernate="" && swapsize="4"
test -z "${hibernate}" || echo "hibernate not recommended, turning off" && read && hibernate="" && swapsize="4"
fi
setconf "add" "bootsize" "4"