mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
19 lines
350 B
Bash
19 lines
350 B
Bash
#!/usr/bin/env bash
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
build ()
|
|
{
|
|
apps="smartctl smartd update-smart-drivedb"
|
|
for i in $apps; do
|
|
add_binary "$i"
|
|
done
|
|
add_file "/etc/conf.d/smartd"
|
|
add_file "/etc/smartd.conf"
|
|
}
|
|
|
|
help ()
|
|
{
|
|
cat<<HELPEOF
|
|
This hook includes smartmontools on an arch boot image.
|
|
HELPEOF
|
|
}
|