archboot/usr/lib/initcpio/install/archboot_smartmontools

20 lines
350 B
Text
Raw Normal View History

#!/usr/bin/env bash
2011-08-23 14:30:29 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2013-05-22 11:43:33 +02:00
apps="smartctl smartd update-smart-drivedb"
2012-05-27 12:15:43 +02:00
for i in $apps; do
add_binary "$i"
done
2012-08-16 07:57:00 +02:00
add_file "/etc/conf.d/smartd"
add_file "/etc/smartd.conf"
2011-08-23 14:30:29 +02:00
}
help ()
{
cat<<HELPEOF
This hook includes smartmontools on an arch boot image.
HELPEOF
}