From 0244155463bb5cbfe5e1f6a321b62ae37e1e0675 Mon Sep 17 00:00:00 2001 From: dogi Date: Sun, 31 Oct 2021 21:17:47 -0400 Subject: [PATCH] `treehouses detect` for Pi 400 (fixes #2251) (#2255) --- modules/detect.sh | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/detect.sh b/modules/detect.sh index 40fcd59b3..2c3c2b45c 100644 --- a/modules/detect.sh +++ b/modules/detect.sh @@ -51,7 +51,8 @@ function detectrpi { rpimodels["c03112"]="RPI4B" # 4gb rpimodels["c03114"]="RPI4B" # 4gb rpimodels["d03114"]="RPI4B" # 8gb - # more at: https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md + rpimodels["c03130"]="RPI400" # 4gb + # more at: https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#new-style-revision-codes-in-use rpimodel=$(grep Revision /proc/cpuinfo | sed 's/.* //g' | tr -d '\n') diff --git a/package.json b/package.json index 9c268d0b1..33deb842d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.26.0", + "version": "1.26.1", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",