test
This commit is contained in:
parent
1c46a3730b
commit
4a1d9db75e
|
@ -125,7 +125,7 @@ echo 2 $ramsize
|
|||
|
||||
set -x
|
||||
|
||||
if [[ "${ramsize}" -gt "0" ]] || [[ "${ramsize}" -le "2" ]]; then
|
||||
if [[ "${ramsize}" -gt "0" ]] && [[ "${ramsize}" -le "2" ]]; then
|
||||
test -z "${hibernate}" && swapsize="$(( ramsize * 2 ))"
|
||||
test -z "${hibernate}" || swapsize="$(( ramsize * 3 ))"
|
||||
elif [[ "${ramsize}" -gt "2" ]] && [[ "${ramsize}" -le "8" ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user