mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-21 14:11:06 +02:00
fix ram GB detection
This commit is contained in:
@@ -22,7 +22,7 @@ fi
|
|||||||
ramMB=$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 )}' /proc/meminfo)
|
ramMB=$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 )}' /proc/meminfo)
|
||||||
|
|
||||||
# get how many RAM (in GB - approx)
|
# 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
|
# OUTPUT HARDWARE INFO
|
||||||
|
Reference in New Issue
Block a user