archrelease: copy trunk to extra-x86_64
[arch-packages.git] / dmraid / repos / core-x86_64 / dmraid_hook
blob37283e83eeef84eaba0c7475a8b71bcd1b4b136c
1 #!/usr/bin/ash
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
14 # vim: set ft=sh ts=4 sw=4 et: