From 99a95abf1fd28d453d760144b850a989d2eca074 Mon Sep 17 00:00:00 2001 From: Rick Peters Date: Thu, 24 Sep 2026 10:54:33 +0200 Subject: [PATCH] fix: Kernel legend only mentions the LEDs on a Steam Machine --- CHANGELOG.md | 3 ++- lib/steam-machine.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a8ffe1..8d0a174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,9 +36,10 @@ every run. Merged together with 0.7.0, so v0.8.0 is the release that has both. - `45a8757` **fix: BIOS dry run also walks through the restart choices** - A dry run counts as staged, so `[m]`/`[r]` and the restart question on `q` show up; in dry-run mode restarting only prints what it would do. -- **fix: Shorter BIOS labels so the menu fits 80 columns** +- `429e840` **fix: Shorter BIOS labels so the menu fits 80 columns** - "now F7F0107, newest F7F0108 (own risk)", "F7F0108 waits for a restart", "F7F0107 is up to date"; shorter dry-run line. +- **fix: Kernel legend only mentions the LEDs on a Steam Machine** ## 0.7.0 - 2026-09-24 diff --git a/lib/steam-machine.sh b/lib/steam-machine.sh index 3f7ce93..d82c56d 100644 --- a/lib/steam-machine.sh +++ b/lib/steam-machine.sh @@ -163,7 +163,9 @@ kernel_overview() { local mark="${c_green}yes${c_reset}" miss="${c_red}no ${c_reset}" leds=false detect_valve_fremont && command -v dkms >/dev/null 2>&1 && leds=true local kdir k pkg headers hid led running line - echo -e " ${c_bold}Kernels${c_reset} (> = running; controller = Steam controller driver, LEDs = LED bar driver built)" + local legend="> = running; controller = Steam controller driver" + [[ "$leds" == true ]] && legend+=", LEDs = LED bar driver built" + echo -e " ${c_bold}Kernels${c_reset} ($legend)" for kdir in /usr/lib/modules/*/; do k="$(basename "$kdir")" [[ -f "$kdir/pkgbase" ]] || continue