mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-01-14 23:30:37 +00:00
Compare commits
No commits in common. "6533cf98bd5fe2bf2d524099d81b099452846ba6" and "e0d149494d63bf1b657be56cdefecf5b0fed39b7" have entirely different histories.
6533cf98bd
...
e0d149494d
@ -665,7 +665,7 @@ filelimit_check() {
|
||||
|
||||
# Check total system memory
|
||||
memory_check() {
|
||||
memtotal="$(LC_NUMERIC=C awk '/MemTotal/ {printf "%.1f \n", $2/1024/1024}' /proc/meminfo)"
|
||||
memtotal="$(awk '/MemTotal/ {printf "%.1f \n", $2/1024/1024}' /proc/meminfo)"
|
||||
if [ ${memtotal%.*} -ge "15" ]; then
|
||||
preflight_pass+=("Your system has $memtotal GB of memory.")
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user