diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 11:02:02 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-02-07 11:02:02 +0100 |
commit | 1a91e4fa8e2d9823082843e98021c3345f82f072 (patch) | |
tree | b4d7fc635b38c699133aabbac56f9b781292c7ba | |
parent | 4fde9323f8078a6d4a4f4bb58e4be914602d5bf5 (diff) | |
download | mkinitcpio-1a91e4fa8e2d9823082843e98021c3345f82f072.tar.gz mkinitcpio-1a91e4fa8e2d9823082843e98021c3345f82f072.tar.xz |
Revert commit 4fde9323f8078a6d4a4f4bb58e4be914602d5bf5, this shouldn't be applied to the master branch
-rw-r--r-- | hooks/raid | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hooks/raid b/hooks/raid new file mode 100644 index 0000000..cd1a920 --- /dev/null +++ b/hooks/raid @@ -0,0 +1,9 @@ +# vim: set ft=sh: +run_hook () +{ + #TODO scan for these somehow... + /sbin/modprobe -aq linear multipath raid0 raid1 raid456 raid10 >/dev/null 2>&1 + # md= can be specified multiple times. The simplistic commandline + # parsing does not handle this, so we will let mdassemble parse it + /bin/mdassemble ${CMDLINE} +} |