From 9d3de3db39a970004daf4809ffbb10e7d4d459a3 Mon Sep 17 00:00:00 2001 From: dogi Date: Sun, 31 Oct 2021 21:26:27 -0400 Subject: [PATCH] `treehouses detect` for Zero 2 W (fixes #2253) (#2257) --- 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 7ce3c546b..9950f23b8 100644 --- a/modules/detect.sh +++ b/modules/detect.sh @@ -51,11 +51,12 @@ function detectrpi { rpimodels["c03112"]="RPI4B" # 4gb rpimodels["c03114"]="RPI4B" # 4gb rpimodels["d03114"]="RPI4B" # 8gb + rpimodels["c03130"]="RPI400" # 4gb rpimodels["a03140"]="CM4" # 1gb rpimodels["b03140"]="CM4" # 2gb rpimodels["c03140"]="CM4" # 4gb rpimodels["d03140"]="CM4" # 8gb - rpimodels["c03130"]="RPI400" # 4gb + rpimodels["d03114"]="RPIZ2W" # .5gb # 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 70c887bb7..41f3bcebf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.26.2", + "version": "1.26.3", "remote": "4000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",