This commit is contained in:
teldra 2021-08-18 08:42:41 +02:00
parent 4a1d9db75e
commit e169c0ade7

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" empty && hibernate="" && swapsize="4"
test -z "${hibernate}" || read -p "hibernate not recommended, turning off\n" empty && hibernate="" && swapsize="4"
fi
setconf "add" "bootsize" "4"