pentoo-overlay/scripts/which_firmware
2026-05-03 19:40:21 -04:00

5 lines
235 B
Bash
Executable file

#!/bin/sh
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'