fix: Kernel legend only mentions the LEDs on a Steam Machine

This commit is contained in:
theupriser committed 2026-09-24 10:54:33 +02:00
1 parent 0c50170a37
commit 207c62e12f
2 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -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** - `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` - 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. 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", - "now F7F0107, newest F7F0108 (own risk)", "F7F0108 waits for a restart",
"F7F0107 is up to date"; shorter dry-run line. "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 ## 0.7.0 - 2026-09-24
+3 -1
View File
@@ -163,7 +163,9 @@ kernel_overview() {
local mark="${c_green}yes${c_reset}" miss="${c_red}no ${c_reset}" leds=false 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 detect_valve_fremont && command -v dkms >/dev/null 2>&1 && leds=true
local kdir k pkg headers hid led running line 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 for kdir in /usr/lib/modules/*/; do
k="$(basename "$kdir")" k="$(basename "$kdir")"
[[ -f "$kdir/pkgbase" ]] || continue [[ -f "$kdir/pkgbase" ]] || continue