fix swap selector
This commit is contained in:
parent
70b0087b89
commit
b571133f3f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user