Skip to content

Add compute model support #17

Open
@TheLexus

Description

@TheLexus

Hi,

the check for raspberry model version does not work with compute module 4. I added the middle 2 lines to the service:

# Check for RPi model
model=$(cat /proc/cpuinfo | grep 'Model' | awk '{print $5}')
if [ "$model" == "Compute" ]; then
  model=$(cat /proc/cpuinfo | grep 'Model' | awk '{print $7}')
fi
echo "Detected RPi model $model".

Maybe you want add this too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions