diff --git a/restore.sh b/restore.sh index a4239d1..48d2451 100644 --- a/restore.sh +++ b/restore.sh @@ -55,6 +55,7 @@ done #get swap size swapSize=$(free -m | grep "Mem" | awk '{print $2}') +echo "" read -p "Enter extra amount of swap (empty == 512):" swapExtra [[ -z "$swapExtra" ]] && swapExtra=512 let "swapSize += swapExtra" #add 512 mbs to swap for swap, not only hibernation