2013-07-22 17:57:18 +02:00
|
|
|
#!/usr/bin/env bash
|
2009-12-11 11:32:41 +01:00
|
|
|
# Created by Tobias Powalowski <tpowa@archlinux.org>
|
2009-03-28 14:07:42 +01:00
|
|
|
|
2011-07-06 15:55:39 +02: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
|
2013-08-21 09:40:28 +02:00
|
|
|
which is not covered by mdadm_udev hook.
|
2009-03-28 14:07:42 +01:00
|
|
|
HELPEOF
|
|
|
|
}
|