From dc6474fe846a59fd2d1b67360237229b6072fe5c Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Tue, 10 Dec 2024 05:52:04 +0100 Subject: [PATCH] system() added Raspberry 500 detection --- CHANGELOG.md | 1 + docs/history.html | 5 +++++ docs/index.html | 2 +- lib/util.js | 6 +++--- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3038d269..aaa5167b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page. | Version | Date | Comment | | ------- | ---------- | --------------------------------------------------------------------------------------------------- | +| 5.23.8 | 2024-12-10 | `system()` added Raspberry 500 detection | | 5.23.7 | 2024-12-09 | `networkInterfaces()` sanitizing SSID names (windows) | | 5.23.6 | 2024-12-08 | `system()` added Raspberry CM5 detection | | 5.23.5 | 2024-08-21 | `processLoad()` fixed * process list (linux) | diff --git a/docs/history.html b/docs/history.html index 929c6e99..d7da78d5 100644 --- a/docs/history.html +++ b/docs/history.html @@ -57,6 +57,11 @@

Full version history

+ + 5.23.8 + 2024-12-10 + system() added Raspberry 500 detection + 5.23.7 2024-12-09 diff --git a/docs/index.html b/docs/index.html index d29acd24..b9480de7 100644 --- a/docs/index.html +++ b/docs/index.html @@ -170,7 +170,7 @@
systeminformation
 
-
New Version: 5.23.7
+
New Version: 5.23.8
diff --git a/lib/util.js b/lib/util.js index 672071c5..ab85f624 100644 --- a/lib/util.js +++ b/lib/util.js @@ -1020,9 +1020,9 @@ function decodePiCpuinfo(lines) { '15': 'CM4S', '16': 'Internal use only', '17': '5', - '18': 'CM5 (EMMC)', - '19': 'Internal use only', - '1a': 'CM5 (Lite)', + '18': 'CM5', + '19': '500', + '1a': 'CM5 Lite', }; const revisionCode = getValue(lines, 'revision', ':', true);