archboot/usr/lib/initcpio/install/archboot_smartmontools
2022-03-14 21:32:33 +01:00

15 lines
292 B
Bash

#!/usr/bin/env bash
# Created by Tobias Powalowski <tpowa@archlinux.org>
build ()
{
map add_binary smartctl smartd update-smart-drivedb
map add_file "/etc/conf.d/smartd" "/etc/smartd.conf"
}
help ()
{
cat<<HELPEOF
This hook includes smartmontools on an archboot image.
HELPEOF
}