diff --git a/step1/10-disk b/step1/10-disk index d060594..ea952ea 100644 --- a/step1/10-disk +++ b/step1/10-disk @@ -119,11 +119,7 @@ if check yesno "Do you want to hibernate?" "y"; then fi ramsize="$(($(getconf _PHYS_PAGES) * $(getconf PAGE_SIZE) / (1024 * 1024)))" -echo 1 $ramsize ramsize="$(awk "BEGIN { printf(\"%.0f\n\", ${ramsize}/1024); }")" -echo 2 $ramsize - -set -x if [[ "${ramsize}" -gt "0" ]] && [[ "${ramsize}" -le "2" ]]; then test -z "${hibernate}" && swapsize="$(( ramsize * 2 ))"