Update file run_onchange_before_configure-swap.tmpl
This commit is contained in:
parent
5cf33123e2
commit
990c3edc32
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
{{ includeTemplate "universal/profile" }}
|
||||
{{ includeTemplate "universal/logg" }}
|
||||
|
||||
MEMORY_IN_KB="$(grep MemTotal /proc/meminfo | sed 's/.* \(\d+\) kB/\1/')"
|
||||
MEMORY_IN_KB="$(grep MemTotal /proc/meminfo | sed 's/.* \(.*\) kB/\1/')"
|
||||
MEMORY_IN_GB="$((MEMORY_IN_KB / 1024 / 1024))"
|
||||
|
||||
if [ "$MEMORY_IN_GB" -gt 64 ]; then
|
||||
|
|
Loading…
Reference in a new issue