archboot/usr/lib/initcpio/install/archboot_lshw

19 lines
321 B
Text
Raw Normal View History

2021-10-01 16:56:58 +02:00
#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_binary "/usr/bin/lshw"
2021-10-04 21:13:35 +02:00
for i in manuf oui pnpid; do
2021-10-01 16:56:58 +02:00
add_file "/usr/share/lshw/$i.txt"
done
add_file "/usr/share/lshw/pnpid.txt"
}
help ()
{
cat <<HELPEOF
2021-10-04 11:13:50 +02:00
This hook will add lshw to your archboot image.
2021-10-01 16:56:58 +02:00
HELPEOF
}