test
This commit is contained in:
parent
e169c0ade7
commit
2eed14b972
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue