This commit is contained in:
teldra 2021-08-18 08:39:12 +02:00
parent fb978e703a
commit 63a985b85f
1 changed files with 2 additions and 0 deletions

View File

@ -119,7 +119,9 @@ 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