test
This commit is contained in:
parent
ac208273f0
commit
b7c686fc6f
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue