From 89b387b9d1fef31f03ffc74dc79ba66ddc255dac Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Sun, 3 May 2026 19:40:21 -0400 Subject: [PATCH] scripts/which_firmware: update formatting better --- scripts/which_firmware | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) mode change 100644 => 100755 scripts/which_firmware diff --git a/scripts/which_firmware b/scripts/which_firmware old mode 100644 new mode 100755 index f4a084730..e00f761ef --- a/scripts/which_firmware +++ b/scripts/which_firmware @@ -1,2 +1,5 @@ #!/bin/sh -sudo dmesg | awk '/Loading firmware:/{print "/lib/firmware/"$7}' | paste -sd ',' +printf 'This script outputs firmware information in the format expected by /etc/genkernel.conf\n' +printf 'FIRMWARE_FILES="' +sudo dmesg | awk '/Loading firmware:/{print $7}' | sort -u | paste -sd ',' | tr -d '\n' +printf '"\n'