repo.or.cz
/
arch-packages.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
archrelease: copy trunk to extra-x86_64
[arch-packages.git]
/
dmraid
/
repos
/
core-x86_64
/
dmraid_hook
blob
37283e83eeef84eaba0c7475a8b71bcd1b4b136c
1
#!/usr/bin/ash
2
3
run_hook
() {
4
modprobe
-a -q
dm-mod dm-mirror
>/
dev
/
null
2
>&
1
5
msg
":: Activating dmraid arrays..."
6
# prevent any event monitoring calls with -I
7
if
[
"
$quiet
"
=
"y"
];
then
8
dmraid
-ay -I -Z
>/
dev
/
null
9
else
10
dmraid
-ay -I -Z
11
fi
12
}
13
14
# vim: set ft=sh ts=4 sw=4 et: