mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
20 lines
386 B
Bash
20 lines
386 B
Bash
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
add_binary lshw
|
|
for i in manuf oui pnpid; do
|
|
add_file "/usr/share/lshw/${i}.txt"
|
|
done
|
|
add_file /usr/share/lshw/pnpid.txt
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat <<HELPEOF
|
|
This hook will add lshw to your archboot image.
|
|
HELPEOF
|
|
}
|
|
# vim: set ft=sh ts=4 sw=4 et:
|