archboot/usr/lib/initcpio/install/archboot_lshw

21 lines
386 B
Text
Raw Normal View History

2021-10-01 16:56:58 +02:00
#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
2021-10-01 16:56:58 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
add_binary lshw
2021-10-04 21:13:35 +02:00
for i in manuf oui pnpid; do
add_file "/usr/share/lshw/${i}.txt"
2021-10-01 16:56:58 +02:00
done
add_file /usr/share/lshw/pnpid.txt
2021-10-01 16:56:58 +02:00
}
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
}
# vim: set ft=sh ts=4 sw=4 et: