This commit is contained in:
teldra 2021-08-18 09:18:28 +02:00
parent ac208273f0
commit b7c686fc6f
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,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}" || echo "hibernate not recommended, turning off" && read && hibernate="0" && swapsize="4"
test -z "${hibernate}" || echo "hibernate not recommended, turning off" && hibernate="0" && swapsize="4"
fi
setconf "add" "hibernate" "${hibernate}"