Skip to content

Conversation

@ThomDietrich
Copy link
Member

@ThomDietrich ThomDietrich commented Feb 16, 2017

firemotd-pinea64

@ThomDietrich
Copy link
Member Author

One year later and I realize that something doesn't seem right here. :D

elif [[ $(uname -r) =~ "pine64-longsleep" ]] ; then
Platform="Pine A64"
_mem="$(< /proc/meminfo grep MemTotal | awk '{print $2}')"
if [ $_mem -gt 500000 ] && [ $_mem -gt 503000 ]; then Platform="Pine A64 512MB Rev B Board"; fi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be

if [ $_mem -gt 500000 ] && [ $_mem -lt 503000 ]

same on other lines

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leonsio I was surprised to see this mistake too. See #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants