archboot/usr/lib/initcpio/install/arch_smartmontools

20 lines
372 B
Text
Raw Normal View History

2012-05-27 12:15:43 +02:00
#!/bin/bash
2011-08-23 14:30:29 +02:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
2012-05-27 12:15:43 +02:00
apps="/usr/sbin/smartctl /usr/sbin/smartd /usr/sbin/update-smart-drivedb"
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
}