archboot/usr/lib/initcpio/install/archboot_smartmontools
Tobias Powalowski 3a1aa8c78f rename install hooks from arch_ to archboot_
Signed-off-by: Tobias Powalowski <tpowa@archlinux.org>
2021-09-09 10:09:04 +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
}