mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
make lower 50MB mem warning
This commit is contained in:
parent
995000bab6
commit
1625dc777f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ tempF=$(((cpu/1000) * (9/5) + 32))
|
|||
ram_avail=$(free -m | grep Mem | awk '{ print $7 }')
|
||||
ram=$(printf "%sM / %sM" "${ram_avail}" "$(free -m | grep Mem | awk '{ print $2 }')")
|
||||
|
||||
if [ ${ram_avail} -lt 100 ]; then
|
||||
if [ ${ram_avail} -lt 50 ]; then
|
||||
color_ram="${color_red}\e[7m"
|
||||
else
|
||||
color_ram=${color_green}
|
||||
|
|
Loading…
Add table
Reference in a new issue