archboot/usr/lib/initcpio/install/arch_smartmontools
2013-07-22 17:57:18 +02:00

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
}