fix ram GB detection

This commit is contained in:
rootzoll 2021-05-18 21:02:00 -05:00
parent 6ddfc89e5a
commit b35f9b55cf

View file

@ -22,7 +22,7 @@ fi
ramMB=$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 )}' /proc/meminfo)
# get how many RAM (in GB - approx)
ramGB=$(awk '/MemTotal/ {printf( "%d\n", $2 / 9500000 )}' /proc/meminfo)
ramGB=$(awk '/MemTotal/ {printf( "%d\n", $2 / 950000 )}' /proc/meminfo)
########################
# OUTPUT HARDWARE INFO