This commit is contained in:
parent
9875c9302c
commit
060cb02c74
@ -69,6 +69,8 @@ MEMSIZE=$(cat /proc/meminfo | grep MemTotal | awk -F' ' '{print $2}')
|
|||||||
SWAPVOLSIZE=$(( MEMSIZE / 1024 ))
|
SWAPVOLSIZE=$(( MEMSIZE / 1024 ))
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
like bellow :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
# Convert to MiB to align the size on the size of a block
|
# Convert to MiB to align the size on the size of a block
|
||||||
SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))
|
SWAPVOLSIZE=$(( SWAPSIZE / 1024 / 1024 ))
|
||||||
|
Loading…
Reference in New Issue
Block a user