mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 07:07:46 +01:00
fix ram GB detection
This commit is contained in:
parent
6ddfc89e5a
commit
b35f9b55cf
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue