mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-07 12:01:54 +02:00
scripts/which_firmware: update formatting better
This commit is contained in:
parent
ce1d23b4e9
commit
89b387b9d1
1 changed files with 4 additions and 1 deletions
5
scripts/which_firmware
Normal file → Executable file
5
scripts/which_firmware
Normal file → Executable file
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue