archboot/usr/lib/initcpio/install/archboot_mdadm

21 lines
378 B
Text
Raw Normal View History

#!/usr/bin/env bash
# SPDX-License-Identifier: GPL-2.0-only
2009-12-11 11:32:41 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
2009-03-28 14:07:42 +01:00
build ()
2009-03-28 14:07:42 +01:00
{
2013-05-22 10:01:52 +02:00
add_binary "mdmon"
2022-12-25 20:16:13 +01:00
add_file /etc/mdadm.conf
2022-04-01 08:57:14 +02:00
add_file "/usr/share/mdadm/mdcheck"
2022-12-25 20:16:13 +01:00
2009-03-28 14:07:42 +01:00
}
help ()
{
cat<<HELPEOF
2021-10-04 11:13:50 +02:00
This hook adds complete mdadm to archboot image
which is not covered by mdadm_udev hook.
2009-03-28 14:07:42 +01:00
HELPEOF
}
# vim: set ft=sh ts=4 sw=4 et: