2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2023-01-27 08:08:28 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2011-08-23 14:30:29 +02:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
|
|
|
|
|
|
|
build ()
|
|
|
|
{
|
2022-03-14 21:32:33 +01:00
|
|
|
map add_binary smartctl smartd update-smart-drivedb
|
2023-09-21 22:11:01 +02:00
|
|
|
map add_file /etc/conf.d/smartd /etc/smartd.conf
|
2011-08-23 14:30:29 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
help ()
|
|
|
|
{
|
|
|
|
cat<<HELPEOF
|
2021-10-04 11:13:50 +02:00
|
|
|
This hook includes smartmontools on an archboot image.
|
2011-08-23 14:30:29 +02:00
|
|
|
HELPEOF
|
|
|
|
}
|
2023-01-27 08:08:28 +01:00
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|