archboot/usr/lib/initcpio/install/archboot_smartmontools
Tobias Powalowski 7206f7c7f8 change message
2021-10-04 11:13:50 +02:00

19 lines
349 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 archboot image.
HELPEOF
}