Skip to content
Permalink
Browse files

Detect amount of memory on ODROID-N2

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 31, 2019
1 parent 37fa2b6 commit a2679dfee47f641dce1320a3a6d8a935d1e2c7ea
Showing with 2 additions and 0 deletions.
  1. +2 −0 hw_model.sh
@@ -657,6 +657,8 @@

#ODROID-N2
elif (( $HW_MODEL == 15 )); then

MEMTOTAL=$(free | awk '/^Mem:/{print $2}')
if (( $MEMTOTAL > 3800000 )); then

HW_MODEL_DESCRIPTION='ODROID-N2 (4 GB)'

0 comments on commit a2679df

Please sign in to comment.
You can’t perform that action at this time.