2021-10-01 16:56:58 +02:00
|
|
|
#!/usr/bin/env bash
|
2023-01-27 08:08:28 +01:00
|
|
|
# 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 "/usr/bin/lshw"
|
2021-10-04 21:13:35 +02:00
|
|
|
for i in manuf oui pnpid; do
|
2022-03-14 21:32:33 +01:00
|
|
|
add_file "/usr/share/lshw/$i.txt"
|
2021-10-01 16:56:58 +02:00
|
|
|
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
|
|
|
|
}
|
2023-01-27 08:08:28 +01:00
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|