mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
19 lines
324 B
Text
19 lines
324 B
Text
|
#!/usr/bin/env bash
|
||
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
||
|
|
||
|
build ()
|
||
|
{
|
||
|
add_binary "/usr/bin/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 arch boot image.
|
||
|
HELPEOF
|
||
|
}
|