test
This commit is contained in:
parent
d70c4f0919
commit
fb978e703a
|
@ -121,6 +121,8 @@ fi
|
|||
ramsize="$(($(getconf _PHYS_PAGES) * $(getconf PAGE_SIZE) / (1024 * 1024)))"
|
||||
ramsize="$(awk "BEGIN { printf(\"%.0f\n\", ${ramsize}/1024); }")"
|
||||
|
||||
set -x
|
||||
|
||||
if [[ "${ramsize}" -gt "0" ]] || [[ "${ramsize}" -le "2" ]]; then
|
||||
test -z "${hibernate}" && swapsize="$(( ramsize * 2 ))"
|
||||
test -z "${hibernate}" || swapsize="$(( ramsize * 3 ))"
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
if ! yesno "nun gehts los, sicher?" y; then
|
||||
exit
|
||||
fi
|
||||
set -x
|
||||
|
||||
module start "disk" "Partition disk"
|
||||
sleep=2
|
||||
|
|
Loading…
Reference in New Issue
Block a user