Fixed arithmetic expression
This commit is contained in:
parent
9030a92c37
commit
4c5ee40cca
|
|
@ -271,7 +271,7 @@ fi
|
||||||
|
|
||||||
SWAPSIZEgb=2
|
SWAPSIZEgb=2
|
||||||
|
|
||||||
SWAPSIZEmb=1024*$SWAPSIZEgb
|
SWAPSIZEmb=$((1024*$SWAPSIZEgb))
|
||||||
|
|
||||||
touch /swapfile
|
touch /swapfile
|
||||||
dd if=/dev/zero of=/swapfile bs=1M count=$SWAPSIZEmb status=progress
|
dd if=/dev/zero of=/swapfile bs=1M count=$SWAPSIZEmb status=progress
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue